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
If there's more than one {css.key} value that doesn't exist they should be replaced
{css.key}
Only the first is replaced
modular-css/packages/svelte/svelte.js
Line 48 in 0fc5403
Needs to have the g flag set so it can match multiple times.
g
<div class="{css.key}" />
key
Trying to add new components and rough-in classnames still causes JS explosions
modular-css
npm --version
node --version
The text was updated successfully, but these errors were encountered:
test: failing specimens & snapshot for #575
d0f5801
fix: add g flag to missing key regex
652898e
Fixes #575
fix: replace multiple missing values (#576)
d48ac67
* test: failing specimens & snapshot for #575 * fix: add g flag to missing key regex Fixes #575
Successfully merging a pull request may close this issue.
Expected Behavior
If there's more than one
{css.key}
value that doesn't exist they should be replacedCurrent Behavior
Only the first is replaced
Possible Solution
modular-css/packages/svelte/svelte.js
Line 48 in 0fc5403
Needs to have the
g
flag set so it can match multiple times.Steps to Reproduce (for bugs)
<div class="{css.key}" />
entries wherekey
is different each timeContext
Trying to add new components and rough-in classnames still causes JS explosions
Your Environment
modular-css
npm --version
node --version
The text was updated successfully, but these errors were encountered: