fix: vuetify not transpiled for MS Edge (#994)

This commit is contained in:
Nick 2019-08-30 16:42:24 -04:00
parent 06c2e6e88c
commit a41ca694be
3 changed files with 7 additions and 3 deletions

View File

@ -31,7 +31,7 @@
"@babel/preset-env", { "@babel/preset-env", {
"useBuiltIns": "entry", "useBuiltIns": "entry",
"corejs": 3, "corejs": 3,
"debug": true "debug": false
} }
] ]
] ]

View File

@ -42,7 +42,9 @@ module.exports = {
rules: [ rules: [
{ {
test: /\.js$/, test: /\.js$/,
exclude: /node_modules/, exclude: (modulePath) => {
return modulePath.includes('node_modules') && !modulePath.includes('vuetify')
},
use: [ use: [
{ {
loader: 'cache-loader', loader: 'cache-loader',

View File

@ -44,7 +44,9 @@ module.exports = {
rules: [ rules: [
{ {
test: /\.js$/, test: /\.js$/,
exclude: /node_modules/, exclude: (modulePath) => {
return modulePath.includes('node_modules') && !modulePath.includes('vuetify')
},
use: [ use: [
{ {
loader: 'cache-loader', loader: 'cache-loader',