Sfoglia il codice sorgente

jsesc is now transpiled with babel

n1474335 7 anni fa
parent
commit
cb66508b8a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      webpack.config.js

+ 1 - 1
webpack.config.js

@@ -53,7 +53,7 @@ module.exports = {
         rules: [
         rules: [
             {
             {
                 test: /\.js$/,
                 test: /\.js$/,
-                exclude: /node_modules/,
+                exclude: /node_modules\/(?!jsesc)/,
                 loader: "babel-loader?compact=false"
                 loader: "babel-loader?compact=false"
             },
             },
             {
             {