You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.
Thanks to provide the nice plugin, but I got a problem:
In my project, I have multiple entry(many pages) and some common chunks. How could I do to let each page include some common preloaded chunks and their own page chunk?
The text was updated successfully, but these errors were encountered:
new preloadWebpackPlugin({
rel: 'preload',
include: ['runtime', 'polyfills'] //common ones
}),
new preloadWebpackPlugin({
rel: 'preload',
include: ['blah-styles'], // including specific chunks for specific page
excludeHtmlNames: ['../index-blah.html', '../index-blahblah.html'] //ignore for these files
})
Thanks to provide the nice plugin, but I got a problem:
In my project, I have multiple entry(many pages) and some common chunks. How could I do to let each page include some common preloaded chunks and their own page chunk?
The text was updated successfully, but these errors were encountered: