Terser plugin mangles variable global under production mode.
This PR fixes this issue and add a spreadsheet menu example to show global will be alive under production mode.
Sorry, we are unable to reproduce the issue. The variable 'global' was not mangled when the environment was set to production mode. Could you share your webpack config file that caused the issue?
Terser plugin mangles variable
global
under production mode. This PR fixes this issue and add a spreadsheet menu example to showglobal
will be alive under production mode.