tree shaking
原理:
DCE (Elimination)
ScopeHoisting:解决webpack打包产生大量闭包,导致内存开销较大。
跟treeshaking一样,在mode为production默认开启