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
uname -a
Darwin simenss-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64
(MacBook Pro M2 Max MacOS Sonoma 14.4.1)
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
Trying to repeat the example leads to strange errors:
https://playground.babylonjs.com/#HB4C01#9
See repo https://github.com/simensgreen/bjs-vite-bug
Seems like somehow
index.html
content appears in shader code and breaks it downAlso I posted topic on babylonjs forum: https://forum.babylonjs.com/t/fluentmaterial-fails-to-compile-via-vite/51518
Reproduction
https://github.com/simensgreen/bjs-vite-bug
Steps to reproduce
Clone repository, then
cd bjs-vite-bug npm i npm run dev
System Info
uname -a Darwin simenss-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64 (MacBook Pro M2 Max MacOS Sonoma 14.4.1)
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: