From a41ca694be4c3c093bf4bc62f2dae212448904a2 Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 30 Aug 2019 16:42:24 -0400 Subject: [PATCH] fix: vuetify not transpiled for MS Edge (#994) --- .babelrc | 2 +- dev/webpack/webpack.dev.js | 4 +++- dev/webpack/webpack.prod.js | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.babelrc b/.babelrc index 8aeb2118..54f4a124 100644 --- a/.babelrc +++ b/.babelrc @@ -31,7 +31,7 @@ "@babel/preset-env", { "useBuiltIns": "entry", "corejs": 3, - "debug": true + "debug": false } ] ] diff --git a/dev/webpack/webpack.dev.js b/dev/webpack/webpack.dev.js index b30dfa5d..afb19ed5 100644 --- a/dev/webpack/webpack.dev.js +++ b/dev/webpack/webpack.dev.js @@ -42,7 +42,9 @@ module.exports = { rules: [ { test: /\.js$/, - exclude: /node_modules/, + exclude: (modulePath) => { + return modulePath.includes('node_modules') && !modulePath.includes('vuetify') + }, use: [ { loader: 'cache-loader', diff --git a/dev/webpack/webpack.prod.js b/dev/webpack/webpack.prod.js index 7d49d007..d394b7e6 100644 --- a/dev/webpack/webpack.prod.js +++ b/dev/webpack/webpack.prod.js @@ -44,7 +44,9 @@ module.exports = { rules: [ { test: /\.js$/, - exclude: /node_modules/, + exclude: (modulePath) => { + return modulePath.includes('node_modules') && !modulePath.includes('vuetify') + }, use: [ { loader: 'cache-loader',