Skip to content

Commit

Permalink
feat(优化): sourcemap方便DEBUG,build前清空
Browse files Browse the repository at this point in the history
  • Loading branch information
licoded committed Nov 18, 2021
1 parent 6dd1bac commit 522f872
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack.config.js
Expand Up @@ -7,7 +7,9 @@ module.exports = {
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'dist'),
clean: true,
},
devtool: 'inline-source-map',
devServer: {
static: './dist',
},
Expand Down

0 comments on commit 522f872

Please sign in to comment.