18 lines
397 B
JavaScript
18 lines
397 B
JavaScript
|
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;
|
||
|
};
|