You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using this plugin plus the rollup-terser-plugin in a couple projects, and in a newer one we started targeting a newer version of ECMA in the output, which lead to some more modern JS features remaining in the js during transpile (for example optional chaining). This choked up rollup-plugin-terser, but updating it fixed it. However, when I use rollup-plugin-size-snapshot, it dies on line 80 because of line 68:
constminified=(0,_terser.minify)(source).code;
returns undefined due to modern ECMA symbols breaking the version of the terser included as a dependency:
If it doesn't break anything, it'd be nice to see the terser as a peer dependency or just updated to support modern js features.
The text was updated successfully, but these errors were encountered:
We are using this plugin plus the rollup-terser-plugin in a couple projects, and in a newer one we started targeting a newer version of ECMA in the output, which lead to some more modern JS features remaining in the js during transpile (for example optional chaining). This choked up rollup-plugin-terser, but updating it fixed it. However, when I use rollup-plugin-size-snapshot, it dies on line 80 because of line 68:
returns undefined due to modern ECMA symbols breaking the version of the terser included as a dependency:
![image](https://user-images.githubusercontent.com/2467337/156854290-c1919d4f-ee2e-417a-9a99-33fa70cecb7f.png)
If it doesn't break anything, it'd be nice to see the terser as a peer dependency or just updated to support modern js features.
The text was updated successfully, but these errors were encountered: