Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: babel jsx-runtime #659

Merged
merged 3 commits into from
Sep 27, 2024
Merged

fix: babel jsx-runtime #659

merged 3 commits into from
Sep 27, 2024

Conversation

HomyeeKing
Copy link
Contributor

添加 @ice/pkg-plugin-jsx-plus 插件后会启用babel编译,babel这里会先处理一次 jsx-runtime,导致后边 swc 不会再处理了,
这里先和之前一样, 默认处理成 @ice/jsx-runtime, 当然也可以设为配置项

before after
image image

Copy link

pkg-pr-new bot commented Sep 26, 2024

Open in Stackblitz

More templates

@ice/create-pkg

pnpm add https://pkg.pr.new/ice-lab/icepkg/@ice/create-pkg@659

ice-npm-utils

pnpm add https://pkg.pr.new/ice-lab/icepkg/ice-npm-utils@659

@ice/pkg

pnpm add https://pkg.pr.new/ice-lab/icepkg/@ice/pkg@659

@ice/pkg-plugin-docusaurus

pnpm add https://pkg.pr.new/ice-lab/icepkg/@ice/pkg-plugin-docusaurus@659

@ice/pkg-plugin-jsx-plus

pnpm add https://pkg.pr.new/ice-lab/icepkg/@ice/pkg-plugin-jsx-plus@659

@ice/pkg-plugin-rax-component

pnpm add https://pkg.pr.new/ice-lab/icepkg/@ice/pkg-plugin-rax-component@659

@ice/remark-react-docgen-docusaurus

pnpm add https://pkg.pr.new/ice-lab/icepkg/@ice/remark-react-docgen-docusaurus@659

commit: 56efc79

@XGHeaven XGHeaven merged commit b4c9dad into ice-lab:main Sep 27, 2024
3 checks passed
@HomyeeKing HomyeeKing deleted the fix/importSource branch September 27, 2024 06:13
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.

3 participants