plugins
plugins copied to clipboard
Typescript conflict in Deno
- Rollup Plugin Name: all
- Rollup Plugin Version: -
- Rollup Version:
- Operating System (or Browser): windows
- Node Version: 20
- Link to reproduction (⚠️ read below): https://github.com/javadbat/design-system/blob/main/tasks/build/builder/src/web-component-builder.ts
Expected Behavior
When using all rollup official plugins in Deno, I get the following error:
This expression is not callable.
Type 'typeof import("file:///.../$node_modules/.deno/@[email protected]/$node_modules/@rollup/plugin-replace/types/index")' has no call signatures.deno-ts(2349)
Actual Behavior
by putting //@ts-ignore it works fine but TypeScript somehow couldn't resolve it as a function
Additional Information
Here is where I use rollup packages. it was working fine before I moved to deno, but currently need to be silenced with //@ts-ignore
https://github.com/javadbat/design-system/blob/main/tasks/build/builder/src/web-component-builder.ts