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
Result of this operation window.webpackManifest={"restaurantProfile":"restaurantProfile-1a19c34fddd34bea5d68.chunk.js"]
this will help in lazy loading of modules using pure js without dynamic import when we can not specify /* webpackChunkName: "name" */ comments in imports () if dynamic file name
or other situations
I think you understand me
The text was updated successfully, but these errors were encountered:
Insidexa
changed the title
Add in manifest key by name chunk
Add in manifest key by name or id chunk
Jul 1, 2018
Config maybe
https://github.com/soundcloud/chunk-manifest-webpack-plugin/blob/master/lib/ChunkManifestPlugin.js#L29-L31
var keyChunk = this.keyChunk
c.id
replace byc[keyChunk]
In constructor ChunkManifestPlugin add
this.keyChunk = options.keyChunk || 'id';
Result of this operation
window.webpackManifest={"restaurantProfile":"restaurantProfile-1a19c34fddd34bea5d68.chunk.js"]
this will help in lazy loading of modules using pure js without dynamic import when we can not specify
/* webpackChunkName: "name" */
comments in imports () if dynamic file nameor other situations
I think you understand me
The text was updated successfully, but these errors were encountered: