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
This randomisation makes the build output different each time, which means that bundled chunks get given different hashes, and end-users get no cache-reuse between deploys of our application.
It would be great if the import name could be made deterministic. Either by picking a pseudo-random identifier which is extremely unlikely to be used in user-space (like decorator-transforms). Or by adding logic to check for existing identifiers in the file, and pick something which does not clash.
The text was updated successfully, but these errors were encountered:
As part of its transformation,
content-tag
introduces a new es6 import likeThe local name is a randomised UUID which changes every time content-tag is called:
content-tag/src/lib.rs
Lines 123 to 127 in 44d8b16
This randomisation makes the build output different each time, which means that bundled chunks get given different hashes, and end-users get no cache-reuse between deploys of our application.
It would be great if the import name could be made deterministic. Either by picking a pseudo-random identifier which is extremely unlikely to be used in user-space (like decorator-transforms). Or by adding logic to check for existing identifiers in the file, and pick something which does not clash.
The text was updated successfully, but these errors were encountered: