8000
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
Tree Shaking 通常用于描述移除 js 中未使用的代码
Tree Shaking 只适用于ES Module语法(既通过export导出,import引入),因为它依赖于ES Module的静态结构特性。
Tree Shaking 只在生产环境下才会无效,因为在开发环境下由于 source-map 等相关因素的影响,如果不把没有使用的代码一起打包进来的话,source-map 就不是很准确,会影响我们本地开发的效率
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
Tree Shaking 只适用于ES Module语法(既通过export导出,import引入),因为它依赖于ES Module的静态结构特性。
Tree Shaking 只在生产环境下才会无效,因为在开发环境下由于 source-map 等相关因素的影响,如果不把没有使用的代码一起打包进来的话,source-map 就不是很准确,会影响我们本地开发的效率
The text was updated successfully, but these errors were encountered: