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

Generating a chunk with a name containing % will lead to URI malformed error #5441

Open
sapphi-red opened this issue Mar 23, 2024 · 0 comments

Comments

@sapphi-red
Copy link
Contributor

sapphi-red commented Mar 23, 2024

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-jhg2my?file=dist%2Fmain.js

Expected Behaviour

The output chunk name doesn't use %. Or the import('./foo%25bar-hash.js') is generated instead of import('./foo%bar-hash.js').

Actual Behaviour

The output chunk name doesn't uses %.

Additional Information

This is similar to #4222. Maybe it makes sense to add % to the default sanitizeFileName like it was done in #4262.

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

1 participant