Browse Source

fix(nocodb): add terserOptions.keep_classnames

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
f772ec47db
  1. 8
      packages/nocodb/docker/webpack.config.js

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

@ -30,7 +30,13 @@ module.exports = {
}, },
optimization: { optimization: {
minimize: true, //Update this to true or false minimize: true, //Update this to true or false
minimizer: [new TerserPlugin()], minimizer: [
new TerserPlugin({
terserOptions: {
keep_classnames: true,
},
}),
],
nodeEnv: false, nodeEnv: false,
}, },
externals: [nodeExternals()], externals: [nodeExternals()],

Loading…
Cancel
Save