humus/build/web.webpack.config.js
2024-01-22 09:16:21 -06:00

18 lines
391 B
JavaScript

const {copy} = require('@flecks/build/server');
const configFn = require('@flecks/web/build/web.webpack.config');
module.exports = async (env, argv, flecks) => {
const config = await configFn(env, argv, flecks);
config.plugins.push(
copy({
patterns: [
{
from: 'icon.png',
to: 'assets/icon.png',
},
],
}),
);
return config;
};