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',
|
2020-12-17 02:08:16 -06:00
|
|
|
})).concat(['.neutrinorc.js', 'client-plugins.js', 'webpack.config.js'].map((path) => ({
|
2020-12-06 23:36:32 -06:00
|
|
|
from: `src/build/${path}`,
|
|
|
|
to: 'build',
|
|
|
|
}))),
|
2020-11-30 06:28:29 -06:00
|
|
|
}));
|