webpack JS 文件混淆插件
schema-utils
] 做 option 验证compilation.hooks.optimizeChunkAssets
钩子做混淆操作jest-worker
(opens new window) 做多线程执行混淆任务
terser
(opens new window) 对js文件做混淆
/@preserve|@lic|@cc_on|^\**!/i
cacache
(opens new window) 做 key-content 的持久化缓存compilation.cache
做缓存← tapable thread-loader →