-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: when code has declare @jsx createElement comment, swc config run…
…time: 'classic' (#5976) * feat: 遇到注释信息 应该走 classic 的编译模式 * chore: add version and changelog * chore: add changesets * feat: hasJSXComment 的逻辑放在 isRaxComponent * feat: 内部声明
- Loading branch information
1 parent
6824ad6
commit efba0cc
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@ice/plugin-rax-compat': major | ||
--- | ||
|
||
- [fix] Using runtime: 'classic' mode when source has declare `@jsx createElement` comment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters