Skip to content

TypeScript - terser is not callable #1574

@RobertSandiford

Description

@RobertSandiford

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions