问题:
Taro v3.5.10
Tips:
1. 预览模式生成的文件较大,设置 NODE_ENV 为 production 可以开启压缩。
Example:
$ set NODE_ENV=production && taro build --type alipay --watch
thread '<unnamed>' panicked at 'failed to register unwind information: "unsupported unwind information"', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\wasmer-engine-universal-2.3.0\src\code_memory.rs:199:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failed to handle: failed to register unwind information: "unsupported unwind information"
解决方案:
@swc/core 降版本到1.3.3