-
Notifications
You must be signed in to change notification settings - Fork 43
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
Allow adding to current entry #46
Comments
new WebPlugin({
// file name or full path for output file, required.
// pay attention not to duplication of name,as is will cover other file
filename: 'index.html',
// this html's requires entry,must be an array.dependent resource will inject into html use the order entry in array.
requires: ['A', 'B'],
}) |
Then what about the ones that aren't required by html? I have 128 html files to add as entries and a bunch of Dojo files, that I need preloaded. |
I'd suggest modifying the AutoWebPlugin to allow an optional 3rd parameter, which would be the remainder of the desired entries, as such:
Then one can call it with the desired other entries:
|
The plugin overwrite the current entry instead of adding to it.
What about if the user has other objects instead of only html files and want all?
The text was updated successfully, but these errors were encountered: