Open vdegenne opened 5 months ago
https://github.com/rollup/plugins/blob/2a19079892f0bef53b557da965339cdef0a13a93/packages/terser/src/index.ts#L8
I don't know why but this seems to get rewritten as export { terser as default }
export { terser as default }
I believe this should not be altered for esm. I'm trying to use @rollup/plugin-terser in a TypeScript and I'm not even sure how to import it.
@rollup/plugin-terser
https://github.com/rollup/plugins/blob/2a19079892f0bef53b557da965339cdef0a13a93/packages/terser/src/index.ts#L8
I don't know why but this seems to get rewritten as![image](https://github.com/rollup/plugins/assets/2827383/be96cb00-62ac-45d8-9d86-e8fc032182c9)
export { terser as default }
I believe this should not be altered for esm. I'm trying to use
@rollup/plugin-terser
in a TypeScript and I'm not even sure how to import it.