mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
chore: fix messed up minified esm packages
This commit is contained in:
@@ -144,7 +144,7 @@ const config = (isEsm) => {
|
||||
],
|
||||
};
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
if (process.env.NODE_ENV === 'production' && !isEsm) {
|
||||
cfg.plugins.push(terser({
|
||||
output: {
|
||||
preamble: banner,
|
||||
|
||||
Reference in New Issue
Block a user