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
We ran into an issue releasing a Source update where more than one file in the build output had the same filename and hash.
We tracked the issue down to files that import InputSize.ts. The emitted filename in the build is InputSize-779f1b2b.js. Unexpectedly, files that import this type also have the same hash appended to the filename.
As we have more than one file called types.ts importing InputSize.ts the build included multiple instances of types-779f1b2b.js in the built output, overwriting each other.
To avoid this collision we've renamed of the files, although it still has the same hash: userFeedbackTypes-779f1b2b.js.
The content you are editing has changed. Please copy your edits and refresh the page.
The text was updated successfully, but these errors were encountered:
jamesmockett
changed the title
Investigate how filenames are hashed by the build process
Investigate how filenames are hashed by build process
Feb 15, 2024
We ran into an issue releasing a Source update where more than one file in the build output had the same filename and hash.
We tracked the issue down to files that import
InputSize.ts
. The emitted filename in the build isInputSize-779f1b2b.js
. Unexpectedly, files that import this type also have the same hash appended to the filename.As we have more than one file called
types.ts
importingInputSize.ts
the build included multiple instances oftypes-779f1b2b.js
in the built output, overwriting each other.To avoid this collision we've renamed of the files, although it still has the same hash:
userFeedbackTypes-779f1b2b.js
.Tasks
The text was updated successfully, but these errors were encountered: