2020-11-30 06:28:29 -06:00
|
|
|
const copy = require('@neutrinojs/copy');
|
|
|
|
|
2021-03-20 07:58:54 -05:00
|
|
|
module.exports = require('@latus/build/build/.neutrinorc.js');
|
2020-12-02 02:20:53 -06:00
|
|
|
|
2020-12-24 23:11:47 -06:00
|
|
|
module.exports.use.push(copy({
|
2021-01-19 10:40:04 -06:00
|
|
|
patterns: ['entry.js', 'index.ejs', 'tests.js'].map((path) => ({
|
2020-11-30 06:28:29 -06:00
|
|
|
from: `src/client/${path}`,
|
|
|
|
to: 'client',
|
2021-03-22 02:53:54 -05:00
|
|
|
})).concat({
|
|
|
|
from: 'src/build',
|
2020-12-06 23:36:32 -06:00
|
|
|
to: 'build',
|
2021-03-22 02:53:54 -05:00
|
|
|
}),
|
2020-11-30 06:28:29 -06:00
|
|
|
}));
|