changed webpack path

This commit is contained in:
Vincent van der Wal
2022-12-31 20:04:08 +01:00
parent 860d1028dc
commit 507641f5c1
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
node_modules/ node_modules/
yarn.lock yarn.lock
dist/ dist/
build/
+5
View File
@@ -59,5 +59,10 @@ module.exports = (env) => {
template: 'src/index.html' template: 'src/index.html'
}), }),
], ],
output: {
filename: '[name].bundle.js',
path: path.resolve(__dirname, 'build'),
clean: true,
},
} }
}; };