New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dir] placeholder for output.assetFileNames
#5413
Comments
need this feature |
Would like have this feature. +1 |
The problem is that this information is just not available, see also #4724. |
Feature Use Case
My use case is to preserve the path of output asset without hashing, so that I can reliably locate an asset using its original path.
Feature Proposal
My proposal is to implement the [dir] placeholder, (implemented in Bun's bundler: https://bun.sh/docs/bundler#naming) which resolves to the "relative path from the build root to the parent directory of the file".
This is related to #4724, because a plugin could be created which implements this requested feature.
The text was updated successfully, but these errors were encountered: