Commit a41ca694 authored by Nick's avatar Nick

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

parent 06c2e6e8
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
"@babel/preset-env", { "@babel/preset-env", {
"useBuiltIns": "entry", "useBuiltIns": "entry",
"corejs": 3, "corejs": 3,
"debug": true "debug": false
} }
] ]
] ]
......
...@@ -42,7 +42,9 @@ module.exports = { ...@@ -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',
......
...@@ -44,7 +44,9 @@ module.exports = { ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment