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

vite-css-modules ate my querystring #17

Open
1 of 2 tasks
mrginglymus opened this issue Dec 12, 2024 · 0 comments · May be fixed by #18
Open
1 of 2 tasks

vite-css-modules ate my querystring #17

mrginglymus opened this issue Dec 12, 2024 · 0 comments · May be fixed by #18
Labels
bug Something isn't working

Comments

@mrginglymus
Copy link

Problem

In dev mode, I use query strings in conditional exports to signal different behaviour to generateScopedName. However, vite-css-modules strips the querystring:

cleanUrl(path.relative(config.root, id)),

Expected behavior

Do not strip the querystring (:

Minimal reproduction URL

cleanUrl(path.relative(config.root, id)),

Version

Node.js version

Package manager

npm

Operating system

Windows

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

  • I'm willing to offer financial support
@mrginglymus mrginglymus added the bug Something isn't working label Dec 12, 2024
@mrginglymus mrginglymus linked a pull request Dec 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant