webpack初探

0 minute read

基本设置

入口文件

多入口

设置Hot Module Replacement(HMR)

热模块替换 热加载

代码拆分

chunk 块 by Route 节省用户带宽

This “Webpack Composition” technique was taken from Webpack Academy

BONUS 红利

webpack-bundle-analyzer