arco-plugins
arco-plugins copied to clipboard
fix(unplugin): correct unplugin-react plugin due to rspack deprecated buildin option
fix(unplugin): correct unplugin-react plugin due to rspack deprecated buildin option
Types of changes
- [ ] New feature
- [x] Bug fix
- [ ] Documentation change
- [ ] Coding style change
- [ ] Refactoring
- [ ] Performance improvement
- [ ] Test cases
- [ ] Continuous integration
- [ ] Typescript definition change
- [ ] Breaking change
Background and context
Fix issue https://github.com/arco-design/arco-plugins/issues/61
Solution
Use builtin:swc-loader loader instead to legacy
How is the change tested?
N/A
Changelog
| Changelog(CN) | Changelog(EN) | Related issues |
|---|---|---|
| 修复 unpack-react 在 rspack 版本更新引起的启动错误 | Fix unpack-react startup errors on rspack | https://github.com/arco-design/arco-plugins/issues/61 |
Checklist:
- [x] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
- [ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to
featurebranch and others should be submitted tomasterbranch)