persea/build/web.webpack.config.js

18 lines
397 B
JavaScript
Raw Normal View History

2023-11-30 20:41:07 -06:00
const {copy} = require('@flecks/core/server');
const configFn = require('@flecks/web/server/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;
};