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