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