fix: fix taskbar warning

add app.importScript
copy public/src/modules to build folder
This commit is contained in:
Barış Soner Uşaklı
2022-02-15 10:43:22 -05:00
parent 36f172c1ac
commit fd97f9ffcc
7 changed files with 57 additions and 50 deletions

View File

@@ -28,21 +28,18 @@ module.exports = {
},
output: {
filename: '[name].bundle.js',
chunkFilename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist'),
publicPath: `${relativePath}/dist/`,
},
watchOptions: {
poll: 500,
aggregateTimeout: 500,
aggregateTimeout: 250,
},
resolve: {
symlinks: false,
modules: [
'build/public/src/modules',
'public/src',
'public/src/modules',
'public/src/client',
'node_modules',
...activePlugins.map(p => `node_modules/${p}/node_modules`),
],