Skip to content

Commit

Permalink
chore: fix webpack HMR (#306)
Browse files Browse the repository at this point in the history
* chore: fix webpack HMR

ref: webpack/webpack-dev-server#2758

* fix: lint issues
  • Loading branch information
robertsLando authored Jan 21, 2021
1 parent cc95fec commit a02c522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
entry: {
app: './src/main.js'
},
target: 'web', // Fixes HMR: https://github.com/webpack/webpack-dev-server/issues/2758
plugins: [new VueLoaderPlugin()],
output: {
path: config.build.assetsRoot,
Expand Down

0 comments on commit a02c522

Please sign in to comment.