Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taro 3.6.2 版本 #1

Open
LovesLolita opened this issue Apr 8, 2023 · 0 comments
Open

Taro 3.6.2 版本 #1

LovesLolita opened this issue Apr 8, 2023 · 0 comments

Comments

@LovesLolita
Copy link

Taro 3.6.2 版本 使用的 @swc/core 升级到 1.3.44 后导致的问题

删除项目根目录下的 .swc 文件。
在项目根目录下的 package.json 文件下,与 devDependencies 同级属性下添加 resolutions 配置,锁定 @swc/core 使用的版本:

"resolutions": {
"@swc/core": "1.3.42"
},
"overrides": {
"@swc/core": "1.3.42"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant