Skip to content

Taro 3.6.2 版本 #1

Description

@LovesLolita

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"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions