-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
引用pako这个库之后编译的时候报错 #4963
Labels
Comments
嗯,这个问题似曾相识,是 pako 这个用到了 |
我发现是pako包里有类似这样的注释 /*#ifdef NO_INIT_GLOBAL_POINTERS
static_l_desc.static_tree = static_ltree;
static_l_desc.extra_bits = extra_lbits;
static_d_desc.static_tree = static_dtree;
static_d_desc.extra_bits = extra_dbits;
static_bl_desc.extra_bits = extra_blbits;
#endif*/ 我修改成 //修改后
//#ifdef NO_INIT_GLOBAL_POINTERS
static_l_desc.static_tree = static_ltree;
static_l_desc.extra_bits = extra_lbits;
static_d_desc.static_tree = static_dtree;
static_d_desc.extra_bits = extra_dbits;
static_bl_desc.extra_bits = extra_blbits;
//#endif 就可以了 |
link #4524 |
清提供一个复现问题的单页面代码或者工程吧,我尝试修复下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用了有pako依赖的包。
编译运行的时候报这个错误:
[plugin:commonjs--resolver] Unbalanced delimiter found in string
参考了:
#4524
对esbuildPrePlugin.js进行了修改,编译h5可以通过,但是编译app又会报这个错
The text was updated successfully, but these errors were encountered: