egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
8.99k stars 217 forks source link

Custom esbuild plugin can not work normally #888

Open JosephMing opened 1 year ago

JosephMing commented 1 year ago
image image

You will receive a prompt during the project build process stating "You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin." if the package "@swc/core" is not installed. But when i install the "@swc/core" package, the custom esbuild plugin may not work as expected. No matter how I set my filter, the build.onLoad method is not being called.

tsup: "^6.7.0". @swc/core: "^1".

Upvote & Fund

Fund with Polar

vnues commented 1 year ago

ha,I have same question