lfyfly / webpack-multi-page

webpack4 多页面配置,功能齐全,开箱即用
29 stars 7 forks source link

manifest.js #3

Closed J-env closed 6 years ago

J-env commented 6 years ago

我想问下 manifest.js 是做什么的啊?

lfyfly commented 6 years ago

optimization.runtimeChunk配置项生成,我看文档也没懂,下面的是位慕课网老师的回答

https://coding.imooc.com/learn/questiondetail/51202.html

J-env commented 6 years ago

@lfyfly OK,

我发现global.scss的样式会生成到每个页面的css里面,并不是独立出来一个commons.css (这样的话不够友好, 里面只能使用scss变量)

lfyfly commented 6 years ago