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

fix(REUSELicensesPlugin): Emit files in generateBundle hook to have real filenames #283

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Aug 7, 2024

Otherwise the files contain the hash placeholder, as the hash is only generated just before generateBundle. And Rollup does not replace the hash for other files, so we would end up with files like foo-!{0001}.js.license.

Tested with files_downloadlimit. Best review without whitespaces ;)

… real filenames

Otherwise the files contain the hash placeholder, as the hash is only generated just before `generateBundle`.
And Rollup does not replace the hash for other files, so we would end up with files like `foo-!{0001}.js.license`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added bug Something isn't working 3. to review Ready to review labels Aug 7, 2024
@susnux susnux requested a review from ShGKme August 7, 2024 10:23
@susnux
Copy link
Contributor Author

susnux commented Aug 7, 2024

/backport to stable1

@susnux susnux merged commit 922facd into main Aug 7, 2024
11 checks passed
@susnux susnux deleted the fix/reuse-plugin branch August 7, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants