From 507641f5c1834ad01d41d14b92f8cbe1f2bdd0ce Mon Sep 17 00:00:00 2001 From: Vincent van der Wal Date: Sat, 31 Dec 2022 20:04:08 +0100 Subject: [PATCH] changed webpack path --- .gitignore | 1 + webpack.config.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 6d08e4c..7d6b268 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ yarn.lock dist/ +build/ \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index c3ed14f..86b1688 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,5 +59,10 @@ module.exports = (env) => { template: 'src/index.html' }), ], + output: { + filename: '[name].bundle.js', + path: path.resolve(__dirname, 'build'), + clean: true, + }, } }; \ No newline at end of file