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
where the readFileSync gets a path that doesn't exist and raises an exception that isn't handled.
This results in webpack silently hanging upon building the bundle with integrities.
Disclaimer: I'm not a webpack dev, just a guy who tries to use this plugin with django, emitting the integrity values in templates. If not otherwise solvable, unavailable integrity calculations should at least raise an error so guys like me would know what happened.
The text was updated successfully, but these errors were encountered:
karolyi
changed the title
Integrity can only be used if the physical file exist
Integrity can only be used if the physical files exist
Jul 28, 2024
Hey,
I've turned on
integrity
and experienced errors so far with:webpack-dev-server
that only stores the files in-memory since they will get rebuilt upon changeTracking this bug leads to
webpack-bundle-tracker/lib/index.js
Line 31 in 4596d47
readFileSync
gets a path that doesn't exist and raises an exception that isn't handled.This results in webpack silently hanging upon building the bundle with integrities.
Disclaimer: I'm not a webpack dev, just a guy who tries to use this plugin with django, emitting the integrity values in templates. If not otherwise solvable, unavailable integrity calculations should at least raise an error so guys like me would know what happened.
The text was updated successfully, but these errors were encountered: