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

3.1.0 regression: html attrs without quotes are broken #10111

Closed
7 tasks done
mustafa0x opened this issue Sep 14, 2022 · 0 comments · Fixed by #10117
Closed
7 tasks done

3.1.0 regression: html attrs without quotes are broken #10111

mustafa0x opened this issue Sep 14, 2022 · 0 comments · Fixed by #10117

Comments

@mustafa0x
Copy link

mustafa0x commented Sep 14, 2022

Describe the bug

Removing the quotes around src's value (ie <script type="module" src=/main.js></script>) causes vite to request main.jss.

See the reproduction link (it's the exact vite.new template, except I removed the quotes around /main.js). Add back the quotes and it will work. This is a regression (works fine in 3.0.9).

Reproduction

https://stackblitz.com/edit/vitejs-vite-blze7m?file=index.html

System Info

vite

Used Package Manager

pnpm

Logs

No response

Validations

@patak-dev patak-dev mentioned this issue Sep 14, 2022
4 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant