22 lines
469 B
JavaScript
22 lines
469 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies */
|
|
const copy = require('@neutrinojs/copy');
|
|
|
|
module.exports = async (flecks) => {
|
|
// eslint-disable-next-line global-require
|
|
const config = await require('@flecks/web/server/build/web.neutrinorc')(flecks);
|
|
|
|
config.use.push(
|
|
copy({
|
|
copyUnmodified: true,
|
|
patterns: [
|
|
{
|
|
from: 'icon.png',
|
|
to: 'web/assets/icon.png',
|
|
},
|
|
],
|
|
}),
|
|
);
|
|
|
|
return config;
|
|
};
|