Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Fix sass/scss sourcemaps #572

Closed
wants to merge 1 commit into from

Conversation

Reggino
Copy link

@Reggino Reggino commented Nov 29, 2019

Currently, the sass/scss source maps are incorrect. The generated sourcemaps are created after the sass sources have been compiled. This way, the sourcemaps in the build don't show the proper lines in the original .scss / .sass files.

By passing the sourceMap option to the sass loader, this should be fixed.

@Reggino Reggino mentioned this pull request Nov 29, 2019
@Reggino
Copy link
Author

Reggino commented Feb 6, 2020

Running into the same issue again...

@timneutkens Would you be so kind to review (and merge?) this small change? Thank you!

@timneutkens
Copy link
Member

We're not planning to make changes to next-sass as built-in support is landing very soon: vercel/next.js#10134

@Reggino
Copy link
Author

Reggino commented Feb 6, 2020

Alright, thanks. I've tested the canary-version and sass sourcemaps are working properly.

@Reggino Reggino closed this Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants