Browse Source

chore: Enable build minify option

Signed-off-by: Pranav C Balan <pranavxc@gmail.com>
pull/293/head
Pranav C Balan 4 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" globalObject: "typeof self !== 'undefined' ? self : this"
}, },
optimization: { optimization: {
minimize: false, //Update this to true or false minimize: true, //Update this to true or false
// minimizer: [new TerserPlugin()], minimizer: [new TerserPlugin()],
nodeEnv:false nodeEnv:false
}, },
externals: [nodeExternals()], externals: [nodeExternals()],

Loading…
Cancel
Save