-
Notifications
You must be signed in to change notification settings - Fork 151
How to generate sourcemaps? #140
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
Comments
Het @frederikhors 👋 Currently, the svelte compiler doesn't handle any sourcemap generated by preprocessors. There's a PR by @halfnelson that will add support for sourcemap sometime in the future. Whenever it lands, I guarantee will be passing sourcemaps down the pipeline 😁. |
Please do not close this, as a remainder. |
@frederikhors Sourcemaps are already generated if you have the appropriate option configured for your preprocessor, and are returned to the compiler. Don't worry, I'll make sure to create some tests to guarantee they are being returned. However, for now, there's nothing more we can do from this side. Waiting for: sveltejs/svelte#5015. |
sveltejs/svelte#5015 -> sveltejs/svelte#5428 -> sveltejs/svelte#5584 |
Hi @kaisermann, amazing project, thanks for your work!
In my Sapper project I have in rollup.config.js:
This create a good css in
__SAPPER__/build/main.[hash].css
but I need sourcemaps.Is there a way?
I think I can use the below but I think I'm wrong.
The text was updated successfully, but these errors were encountered: