摘要: html-webpack-plugin在html中插入数据 <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title><%= htmlWebpackPlugin.options.title %></title> </head> <bod 阅读全文
posted @ 2019-10-28 23:53 空山与新雨 阅读(1347) 评论(0) 推荐(0) 编辑
摘要: webpack收集完依赖是怎么打包资源的呢? 入口compiler.js: this.applyPluginsParallel("make", compilation, err => { if(err) return callback(err); compilation.finish(); comp 阅读全文
posted @ 2019-10-28 15:13 空山与新雨 阅读(808) 评论(0) 推荐(0) 编辑