Browse Source

HUE-8940 [core] Temporaly disable js optimization has hanging the build

Romain 6 years ago
parent
commit
31e001ed0c
2 changed files with 4 additions and 2 deletions
  1. 2 1
      webpack.config.js
  2. 2 1
      webpack.config.workers.js

+ 2 - 1
webpack.config.js

@@ -45,7 +45,8 @@ module.exports = {
     tableBrowser: ['./desktop/core/src/desktop/js/apps/table_browser/app.js']
   },
   optimization: {
-    minimize: true,
+    //minimize: true,
+    minimize: false,
     splitChunks: {
       chunks: 'all'
     },

+ 2 - 1
webpack.config.workers.js

@@ -44,7 +44,8 @@ module.exports = {
     sqlSyntaxWebWorker: ['./desktop/core/src/desktop/js/sql/sqlSyntaxWebWorker.js']
   },
   optimization: {
-    minimize: true
+    //minimize: true
+    minimize: false
   },
   output: {
     path: __dirname + '/desktop/core/src/desktop/static/desktop/js/bundles/workers',