We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当前 mars 编译时,会将 src 下所有文件都进行编译,没有进行依赖分析。 百度小程序中,会将小程序代码统一打包,也没有进行依赖分析。 造成的结果是无用代码、图片会造成包体积增大。
建议将 mars 构建由 gulp 改成 webpack,支持依赖分析功能。 有两方面好处:
The text was updated successfully, but these errors were encountered:
JingyuanZhang
No branches or pull requests
问题
当前 mars 编译时,会将 src 下所有文件都进行编译,没有进行依赖分析。
百度小程序中,会将小程序代码统一打包,也没有进行依赖分析。
造成的结果是无用代码、图片会造成包体积增大。
建议
建议将 mars 构建由 gulp 改成 webpack,支持依赖分析功能。
有两方面好处:
The text was updated successfully, but these errors were encountered: