web-webpack-plugin icon indicating copy to clipboard operation
web-webpack-plugin copied to clipboard

希望支持includePages属性

Open chenyulun opened this issue 4 years ago • 1 comments

首先表示看到这个插件,很强大,很符合我们的使用场景 再者我提一个小功能, 假如很多模块,指向配置打包二个模块的话,我只配置

const includeList = ['index','home'];
includePages:includeList,
includePages:(pageNaem) =>includeList.include(pageNaem),

或者IgnorePages支持函数

ignorePages:(pageNaem) => !includeList.include(pageNaem)

和loader一样的机制exclude/include 同时存在的时候,选择只是用一个或者按优先级

希望作者大大能够支持,尽快发布一下,谢谢了,需要我帮忙new request一个吗

chenyulun avatar Mar 27 '20 16:03 chenyulun

你提PR

gwuhaolin avatar Apr 15 '20 08:04 gwuhaolin