egoist / egoist/tsup

Custom esbuild plugin can not work normally

Open
#888 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

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".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.