TypeScript - terser is not callable #1575
Unanswered
RobertSandiford
asked this question in
Q&A
Replies: 1 comment
-
Sorry TS playground is being buggy. Go to TS Config -> Target and set it to ES2022. Then the error appears. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The sample code for @rollup/plugin-terser is not working for me
The error can be seen on TS Playground here:
https://www.typescriptlang.org/play?target=99&moduleResolution=99&module=199&declaration=false&esModuleInterop=false&jsx=1#code/JYWwDg9gTgLgBDAplAzsuAzKERwOQAC2ANsQK5gD0Y5A5sAHYC0SqyeA3ALABQviAD0iw4AE0QYAhmWLwA3rzhxGYMjABc+FFADGlRuIEA6AFYo8AGkVwIa1RrgKeSpaOBRNeWzHuXrSjGgQSQc8HTM8awBfK2c4GjJ6BhRNAG1WNCgACgBKAF1eKI4gA
Settings can be viewed on TS playground, generally modern environment e.g. module and module resolution: NodeNext
Beta Was this translation helpful? Give feedback.
All reactions