Closed baiyuze closed 11 months ago
You may need to downgrade SWC to solve this temporarily.
您可能需要降级 SWC 来暂时解决此问题。
大概是多少版本呢?
How many versions are there?
1.3.68?
I'm not sure. You can try those released two or three months ago.
I downgrade to 1.3.68 and get an error UFT8, as shown in the figure
Are you sure this is occurred by this plugin? You can check this by removing this plugin.
I used rspack to call swc-loader
You can remove plugin by modifying your SWC configuration.
I'll fork the warehouse, see if I can figure it out
I can't reproduce with latest SWC version. Maybe this has been fixed. I'll release a new plugin version later and please upgrade SWC (@swc/core
) and this plugin to latest.
Unfortunately, this problem re-appears when updating @swc/core
from 1.3.105 to 1.3.106.
You should upgrade to latest SWC. Also, don't reply in closed issue.
Latest SWC 1.3.107 still has this problem. Should I open a new issue?
Yes.
Sorry for replying again – no new issue is needed. The 0.3.0 version of this plugin you just released today fixes this issue again. Sorry for bothering!
The .swcrc configuration is as follows
An error is reported when the relevant route is encountered