Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望支持includePages属性 #45

Open
chenyulun opened this issue Mar 27, 2020 · 1 comment
Open

希望支持includePages属性 #45

chenyulun opened this issue Mar 27, 2020 · 1 comment

Comments

@chenyulun
Copy link

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

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

或者IgnorePages支持函数

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

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

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

@gwuhaolin
Copy link
Owner

你提PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants