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
integrity is in stats.toJson().assets but not stats.toJson().namedChunkGroups.assets. i noticed this when working with loadable-components. i have gregberge/loadable-components#803 (packages/webpack-plugin/src/index.js) to add integrity to namedChunkGroups but im curious if it might be better to do so in this library instead or as well
The text was updated successfully, but these errors were encountered:
This means implementing your suggestion would require casting the type, which I'd like to avoid.
Also, the records in namedChunkGroups being typed differently, I think it's clear they are not meant to be treated as copies of the records at the top level. Perhaps you should also consider designing this differently in your lib, or asking the Webpack devs for clarification, if you want to be sure this is going to continue to work in future Webpack versions?
integrity
is instats.toJson().assets
but notstats.toJson().namedChunkGroups.assets
. i noticed this when working withloadable-components
. i have gregberge/loadable-components#803 (packages/webpack-plugin/src/index.js
) to addintegrity
tonamedChunkGroups
but im curious if it might be better to do so in this library instead or as wellThe text was updated successfully, but these errors were encountered: