Replies: 1 comment 1 reply
-
update: OK, I just figured this broke for me when updating vite versions, and narrowed it down to working with vite 5.3.4, and broken with vite 5.3.5 and later 5.3.x. (Have not been able to test with vite 6.x, because my app doesn't actually work with vite 6, not sure why) I am trying to figure out how to make a non-vite-ruby reproduction app to see if I can reproduce this problem without vite-ruby -- but the simple "starter" vite apps end up injecting all CSS in a <style> tag on page, so you NEVER see file and line numbers in that app anyway, with or without source maps! I am not sure how to make the simplest possible vite repro app that can demonstrate working source maps. But I'm not really a vite or JS setup expert -- that's why I love vite-ruby, I normally don't have to be. @ElMassimo do you have any advice, either for creating a pure-vite (non-vite-ruby) app that can demo sourcemap usage, or if there's anything that could possibly be in vite-ruby that could be affecting this and need fixing? |
Beta Was this translation helpful? Give feedback.
-
I swear I used to have sass source maps in dev working, but they seem to have stopped, and i'm not sure why.
(By not working, I mean chrome dev tools is not using them. I haven't yet managed to figure out how to debug further).
I do have it enabled in my vite.config.ts:
Does anyone else have sass source maps in dev working?
vite_ruby 3.9.1
vite_rails 3.0.19
[email protected]
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions