-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS sourcemaps are missing #841
Comments
We're adding an option in Svelte (sveltejs/svelte#6835) that we will use to disable CSS sourcemaps during SSR by default in |
There's a PR for this: vitejs/vite#7173 |
Just curious what the status of this is - I'm more of a backend developer and don't know much about vite unfortunately. It looks like their PR for enabling sourcemap generation was merged and sveltekit uses a version of vite that has the change. However |
You must enable the experimental option: https://vitejs.dev/config/#css-devsourcemap |
Edit The only quirk is that the CSS selectors contain random strings (for making the selector unique to that component I assume) while the map contains the original selector. Its not a huge issue, but is there a way of showing the original selector instead? Maybe this is a just a browser thing. Edit - disregard this Here's my
|
This is really just a placeholder issue to point at vitejs/vite#2830
The text was updated successfully, but these errors were encountered: