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
playground freezes browser #317
Comments
Thanks for letting me know. I will check that. |
Hmm. It looks like the postcss tokenizer source code is broken by minify. Broken postcss tokenizer loops infinitely. |
Hmm. Even with minify turned off, the necessary source code is missing in the build. I still don't know the cause of it. Original: RE_WORD_END.lastIndex = pos + 1
RE_WORD_END.test(css)
if (RE_WORD_END.lastIndex === 0) {
next = css.length - 1
} else {
next = RE_WORD_END.lastIndex - 2
} Output: RE_WORD_END.lastIndex = pos + 1;
if (RE_WORD_END.lastIndex === 0) {
next = css.length - 1;
} else {
next = RE_WORD_END.lastIndex - 2;
} |
I still don't know the cause, so I opened an issue on vite's repository. |
if it helps narrow it down, i'm pretty sure it was working properly until a few days ago |
I suspect that a major version upgrade of vite v4 or rollup v3 is the cause of the problem, but I'm not sure how to confirm that at the moment 😅 |
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
n/a
What version of
eslint-plugin-svelte
are you using?n/a
What did you do?
navigate to https://ota-meshi.github.io/eslint-plugin-svelte/playground/#eJyrrgUAAXUA+Q==
What did you expect to happen?
it works
What actually happened?
Link to GitHub Repo with Minimal Reproducible Example
n/a
Additional comments
tested on chrome and firefox on 3 different devices
The text was updated successfully, but these errors were encountered: