Replies: 3 comments
-
|
I would say without a hash because that way they get overridden even without a clean: true. Otherwise they could pile up locally and accidentally augment package size |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
For the
What I'm confusing is the name of the chunk seems non-meaningful. It gets changed easily when import relationships get changed. I prefer hash, it perfectly represents the concept of chunk is nothing but a set of modules. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This was resolved with #204 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
We're discussing (issue #177) whether tsdown should include hashes in output filenames by default (e.g.,
MyComponent-[hash].js) or not (e.g.,MyComponent.js). Some users feel that hashes are unnecessary and non-standard for npm packages, while others note that tools like Vite, tsup, and unbuild use hashes by default.Please note:
Important note:
If hashes are disabled and two files would have the same name, tsdown will automatically add a numeric suffix to avoid conflicts (for example,
MyComponent.js,MyComponent1.js, etc.).We'd like to hear from the community to help determine what the default behavior should be. Please vote for the option that best reflects your preference or experience.
If you have additional thoughts, please leave a comment explaining your reasoning or sharing your use case. Your feedback will help us make a decision that best serves the community!
Thank you!
45 votes ·
Beta Was this translation helpful? Give feedback.
All reactions