flecks/packages/create-fleck/build/fleck.webpack.config.js
2024-02-04 00:07:54 -06:00

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;
};