Skip to content

feat: support oxc stripInternal option#59

Merged
sxzz merged 1 commit intounplugin:mainfrom
hi-ogawa:feat-oxc-stripInternal
Mar 3, 2025
Merged

feat: support oxc stripInternal option#59
sxzz merged 1 commit intounplugin:mainfrom
hi-ogawa:feat-oxc-stripInternal

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Mar 3, 2025

Description

Oxc isolated decl transform supports stripInternal oxc-project/oxc#5878, which works like tsconfig's stripInternal https://www.typescriptlang.org/tsconfig/#stripInternal. This option wasn't exposed yet from this unplugin, so I added it when transformer: "oxc" is used.

Linked Issues

Additional context

Probably you've seen on Vitest repo vitest-dev/vitest#7472 where we have some /** @internal */ methods without return type specified on package/vite-node and packages/vitest. Not sure we'll get that part first, but hopefully it helps soon.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sxzz
Copy link
Member

sxzz commented Mar 3, 2025

Thanks!

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 3, 2025

Open in Stackblitz

npm i https://pkg.pr.new/unplugin/unplugin-isolated-decl@59

commit: caa2d3e

@sxzz sxzz merged commit de7bfa9 into unplugin:main Mar 3, 2025
11 checks passed
@hi-ogawa hi-ogawa deleted the feat-oxc-stripInternal branch March 3, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants