Browse Source

chore: Enable build minify option

Signed-off-by: Pranav C Balan <pranavxc@gmail.com>
pull/293/head
Pranav C Balan 3 years ago
parent
commit
0aabfcaeff
  1. 4
      packages/nocodb/docker/webpack.config.js

4
packages/nocodb/docker/webpack.config.js

@ -35,8 +35,8 @@ module.exports = {
globalObject: "typeof self !== 'undefined' ? self : this"
},
optimization: {
minimize: false, //Update this to true or false
// minimizer: [new TerserPlugin()],
minimize: true, //Update this to true or false
minimizer: [new TerserPlugin()],
nodeEnv:false
},
externals: [nodeExternals()],

Loading…
Cancel
Save