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
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 addthis.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 name or other situationsI think you understand me