feat: 🚀 新增 swc 插件
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://github.com/xun082/create-neat/blob/master/CONTRIBUTING.md
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[ √] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:
What is the current behavior?
- Closes #169
- Related to #24
What is the new behavior?
新增 swc 插件
Does this PR introduce a breaking change?
[ ] Yes
[ x] No
Other information
CodeRabbit
Uplevel your code reviews with CodeRabbit Pro
CodeRabbit Pro
If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.
没啥问题,看看本地测试结果可以跑嘛,项目产物符合 swc 的功能预期吗
配置文件是一个.swcrc这样的,没什么问题
tql m 神 u 神
没啥问题,看看本地测试结果可以跑嘛,项目产物符合 swc 的功能预期吗
配置文件是一个.swcrc这样的,没什么问题
预调研的swc目前前置条件是react,应加上前置限制。且有webpack和vite都有对应的插件。看文章说swc的ast转换和babel转换不一致,现在内部ast还是babel的,不知道这样放上去是否有问题。