Little tweak, HMR still broken

This commit is contained in:
Dane Everitt 2019-02-02 19:00:34 -08:00
parent ea923053eb
commit 7bdcdf23bf
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -129,6 +129,7 @@ module.exports = {
{ {
test: /\.js$/, test: /\.js$/,
loader: 'babel-loader', loader: 'babel-loader',
exclude: file => (/node_modules/.test(file) && !/\.vue\.js/.test(file)),
options: { options: {
cacheDirectory: !isProduction, cacheDirectory: !isProduction,
presets: ['@babel/preset-env'], presets: ['@babel/preset-env'],