arco-plugins icon indicating copy to clipboard operation
arco-plugins copied to clipboard

fix(unplugin): correct unplugin-react plugin due to rspack deprecated buildin option

Open Justinidlerz opened this issue 1 year ago • 0 comments

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 feature branch and others should be submitted to master branch)

Other information

Justinidlerz avatar Jul 30 '24 04:07 Justinidlerz