Embed sources in CSS sourcemaps#2668
Merged
nickcharlton merged 1 commit intothoughtbot:mainfrom Sep 30, 2024
Merged
Conversation
This flag tells Sass to embed the entire contents of the Sass files
that contributed to the generated CSS in the source map. This may
produce very large source maps, but it guarantees that the source
will be available on any computer no matter how the CSS is served.
https://sass-lang.com/documentation/cli/dart-sass/#embed-sources
7009b71 to
a25088b
Compare
Member
|
That's a lovely idea, thanks. (I'll be cutting a new release candidate release soonish so hopefully you'll also have less annoying bugs to track down!) |
Contributor
Author
|
Thank you, I am eagerly spamming |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What were you trying to do?
Trying to debug UI issues with the new Administrate beta version (turns out they are resolved in
main?).What did you end up with (logs, or, even better, example apps are great!)?
Whenever I open Firefox/Chrome dev tools, they try to load the SCSS source files from the Rails server, which fails, as expected, with 404.
What versions are you running?
I suggest you add the
--embed-sourcesswitch to thebuild:cssyarnincantation.Tested locally:
