Skip to content

Commit 7bdcdf2

Browse files
committed
Little tweak, HMR still broken
1 parent ea92305 commit 7bdcdf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ module.exports = {
129129
{
130130
test: /\.js$/,
131131
loader: 'babel-loader',
132+
exclude: file => (/node_modules/.test(file) && !/\.vue\.js/.test(file)),
132133
options: {
133134
cacheDirectory: !isProduction,
134135
presets: ['@babel/preset-env'],

0 commit comments

Comments
 (0)