Little tweak, HMR still broken
This commit is contained in:
parent
ea923053eb
commit
7bdcdf23bf
1 changed files with 1 additions and 0 deletions
|
@ -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'],
|
||||||
|
|
Loading…
Reference in a new issue