latus/packages/http/.neutrinorc.js
2021-01-05 02:54:39 -06:00

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',
}))),
}));