From a02c5227e2d86540fe19231846527c49723f976e Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Thu, 21 Jan 2021 15:04:08 +0100 Subject: [PATCH] chore: fix webpack HMR (#306) * chore: fix webpack HMR ref: https://github.com/webpack/webpack-dev-server/issues/2758 * fix: lint issues --- build/webpack.base.conf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index f18931d4f9..2e686ccddb 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -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,