14 lines
398 B
JavaScript
14 lines
398 B
JavaScript
const copy = require('@neutrinojs/copy');
|
|
|
|
module.exports = require('../../config/.neutrinorc');
|
|
|
|
module.exports.use.push(copy({
|
|
patterns: ['index.js', 'index.ejs', 'tests.js'].map((path) => ({
|
|
from: `src/client/${path}`,
|
|
to: 'client',
|
|
})).concat(['.neutrinorc.js', 'client-plugins.js', 'webpack.config.js'].map((path) => ({
|
|
from: `src/build/${path}`,
|
|
to: 'build',
|
|
}))),
|
|
}));
|