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
According to the spec this would even be allowed, but it breaks as soon as you have a space in the path, which also ends up unquoted in the production bundle.
IMO it should always be quoted.
System Info
vite version: 2.0.0-beta.44
Operating System: MacOS
Node version: 14.15.4
Package manager (npm/yarn/pnpm) and version: yarn
The text was updated successfully, but these errors were encountered:
Describe the bug
When adding a non JS asset to the index.html the quotes around the path are stripped in the production build.
Reproduction
Add the following to the
index.html
and the corresponding file intopublic/
The result in production looks like this:
According to the spec this would even be allowed, but it breaks as soon as you have a space in the path, which also ends up unquoted in the production bundle.
IMO it should always be quoted.
System Info
vite
version: 2.0.0-beta.44The text was updated successfully, but these errors were encountered: