📄️ Bundle Splitting
Bundle Splitting
📄️ Code Splitting
Refers to dividing your code into various bundles/chunks which you can then load on demand instead of loading a single bundle containing everything.
📄️ external
防止将某些 import 的包(package)打包到 bundle 中,而是在运行时(runtime)再去从外部获取这些扩展依赖(external dependencies)。
📄️ WIP 等待填充
📄️ module
rule.exclude 和 rule.include
📄️ resolve
webpack 构建流程:
🗃️ tree-shaking
1 items
📄️ 压缩代码
js 压缩
🗃️ 多进程/多实例构建
1 items
📄️ Stats 对象
stats 选项让你更精确地控制 bundle 信息该怎么显示。