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 vuejs/core instead.
Describe the bug
We use less as css preprocessor. There we have a setup with mixins filling image-sets.
After this commit:d59efd8 we get vite:resolve warnings.
The build css file looks correct to me though.
The less code looks like this:
The warning is only shown on images that can not be inlined.
Reproduction
https://github.com/GarreltMock/vite-bug-repro
Steps to reproduce
npm install
thennpm run build
System Info
Used Package Manager
npm
Logs
transforming (1) src/main.js
VITE_ASSET__BgDL8UKD referenced in VITE_ASSET__BgDL8UKD didn't resolve at build time, it will remain unchanged to be resolved at runtime
✓ 4 modules transformed.
dist/index.html 0.45 kB │ gzip: 0.29 kB
dist/assets/img-CVimqOIp.png 157.17 kB
dist/assets/index-CzC1NDFV.css 0.12 kB │ gzip: 0.09 kB
dist/assets/index-Dq8oS-Aj.js 0.83 kB │ gzip: 0.46 kB
✓ built in 97ms
Validations
The text was updated successfully, but these errors were encountered: