-
Notifications
You must be signed in to change notification settings - Fork 2.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
[node-build-scripts] fix(sass-compile): source map file paths #5415
[node-build-scripts] fix(sass-compile): source map file paths #5415
Conversation
} | ||
} | ||
|
||
function fixSourcePathsInSourceMap({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this approach seems cleaner, so I'm on board with the general direction of this PR so far 👍🏽
Thanks for taking a look @adidahiya! I'm not able to run
Any ideas? |
@zachkirsch you have to run |
Ahh thanks! |
Hey @adidahiya, After some investigation:
After trying lots of different things, this seems to be fixed by me adding |
|
Fixes #5416
Checklist
Changes proposed in this pull request:
When running a react app with the latest version of blueprint, I get errors like:
Source maps are generated with absolute paths to the source files (hence the
/home/circleci
paths).Blueprint is using
renderSync
to generate source maps.blueprint/packages/node-build-scripts/sass-compile.ts
Line 60 in 3c4daa7
Per sass/dart-sass#1437, this right fix is to manually change the absolute paths to be relative.
Reviewers should focus on:
Screenshot