You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Removing the quotes around
src
's value (ie<script type="module" src=/main.js></script>
) causes vite to requestmain.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
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: