We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
%
4.13.0
Stackblitz
No response
https://stackblitz.com/edit/rollup-repro-xuenud?file=rollup.config.js
Rollup does not generate a malformed URL. So the output is var main = new URL('assets/te%252-C4X7hChn.txt', import.meta.url).href;.
var main = new URL('assets/te%252-C4X7hChn.txt', import.meta.url).href;
Rollup generates a malformed URL. So the output is var main = new URL('assets/te%2-C4X7hChn.txt', import.meta.url).href;.
var main = new URL('assets/te%2-C4X7hChn.txt', import.meta.url).href;
The text was updated successfully, but these errors were encountered:
Adding % to the default sanitizeFileName (related: #5441) seems to work for this issue as well.
sanitizeFileName
Sorry, something went wrong.
No branches or pull requests
Rollup Version
4.13.0
Operating System (or Browser)
Stackblitz
Node Version (if applicable)
No response
Link To Reproduction
https://stackblitz.com/edit/rollup-repro-xuenud?file=rollup.config.js
Expected Behaviour
Rollup does not generate a malformed URL. So the output is
var main = new URL('assets/te%252-C4X7hChn.txt', import.meta.url).href;
.Actual Behaviour
Rollup generates a malformed URL. So the output is
var main = new URL('assets/te%2-C4X7hChn.txt', import.meta.url).href;
.The text was updated successfully, but these errors were encountered: