mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -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({
|
cfg.plugins.push(terser({
|
||||||
output: {
|
output: {
|
||||||
preamble: banner,
|
preamble: banner,
|
||||||
|
|||||||
Reference in New Issue
Block a user