Skip to content
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

originalFileName in AssetInfo #2968

Open
jakearchibald opened this issue Jun 27, 2019 · 1 comment
Open

originalFileName in AssetInfo #2968

jakearchibald opened this issue Jun 27, 2019 · 1 comment

Comments

@jakearchibald
Copy link
Contributor

Feature Use Case

I want to create a map of original asset names to their hashed output file (for server-side rendering). AssetInfo only provides the final file name.

Feature Proposal

originalFileName would be enough. However I guess #2959 could complicated this if two assets with different names are deduped. Maybe it would need to be an array, originalFileNames.

@lukastaegert
Copy link
Member

Makes sense, though I would prefer name or assetName (or maybe names) as there is no reason that the provided name corresponds to an actually existing file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants