2024-01-22 09:16:21 -06:00
|
|
|
const {copy} = require('@flecks/build/server');
|
2024-01-19 00:15:57 -06:00
|
|
|
const configFn = require('@flecks/web/build/web.webpack.config');
|
2023-11-30 20:11:48 -06:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|