17 lines
418 B
JavaScript
17 lines
418 B
JavaScript
const {copy, executable} = require('@flecks/build/src/server');
|
|
const configFn = require('@flecks/fleck/build/fleck.webpack.config');
|
|
|
|
module.exports = async (env, argv, flecks) => {
|
|
const config = await configFn(env, argv, flecks);
|
|
config.plugins.push(executable());
|
|
config.plugins.push(copy({
|
|
patterns: [
|
|
{
|
|
from: 'template',
|
|
to: 'template',
|
|
},
|
|
],
|
|
}));
|
|
return config;
|
|
};
|