Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

terser fails at ES2022 static fields of class #112

Open
DarthVan opened this issue Mar 9, 2022 · 2 comments
Open

terser fails at ES2022 static fields of class #112

DarthVan opened this issue Mar 9, 2022 · 2 comments

Comments

@DarthVan
Copy link

DarthVan commented Mar 9, 2022

Hi! After typescript update, terser can't handle these es2022 static fields:
Скриншот 2022-03-09 11 55 11

console log:
Скриншот 2022-03-09 11 52 47

--
VS Code: 1.65.0
typescript: 4.6.2 (target/module - es next)
Rollup: 2.70.0
rollup-plugin-terser: 7.0.2

Thanks!

@peterschuelke
Copy link

Screen Shot 2022-08-15 at 4 57 32 PM

I can confirm this issue.

Rollup: 2.77.2
TypeScript: 4.7.4
Terser: 5.14.2
rollup-plugin-terser: 7.0.2

@peterschuelke
Copy link

On further investigation this error could directly be from: terser/terser#1093

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants