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
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 https://github.com/vuejs/vue-next instead.
Describe the bug
When the assets address in the source file is an encodeURI, it cannot be imported in build mode, but it works fine in dev mode
If there are spaces in the asset path you have to encodeURI for the address
Reproduction
https://github.com/yArna/temp-vite-error-repo-unicode
System Info
System: OS: macOS 11.6.1 CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz Memory: 32.56 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.16.0 - /usr/local/bin/node Yarn: 1.22.15 - ~/.yarn/bin/yarn npm: 7.6.3 - /usr/local/bin/npm Browsers: Chrome: 96.0.4664.110 Chrome Canary: 99.0.4777.0 Firefox: 93.0 Safari: 15.1
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: