From 7bdcdf23bf3408c4ed98f4d4f9115c32b98e3918 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 2 Feb 2019 19:00:34 -0800 Subject: [PATCH] Little tweak, HMR still broken --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 1058deaec..6ef2fd69a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -129,6 +129,7 @@ module.exports = { { test: /\.js$/, loader: 'babel-loader', + exclude: file => (/node_modules/.test(file) && !/\.vue\.js/.test(file)), options: { cacheDirectory: !isProduction, presets: ['@babel/preset-env'],