You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the latest of everything and have come some way to getting to grips with create-react-app, which is great but I am used to using developer tools to debug css, which I intend to use heavily with things like susy grid as my app develops.
Basically, I have installed node-sass-chokidar as explained here, to compile sass on the fly and have a nice setup, only to find that the index.html file is generated dynamically and each css file put inline into the head of this document, stripping out the sourcemap links so everything is shown inline in Developer tools.
As part of the scripts section in package.json, I have put the build-css and watch-css lines, to which I have added the sourcemap generation. This section currently looks like this:
I'm having similar issues and so far every post that I've read mentioned ejecting the configurations to get this working. I'm hoping there is a way to see generated sourcemap in dev w/o ejecting.
I have the latest of everything and have come some way to getting to grips with create-react-app, which is great but I am used to using developer tools to debug css, which I intend to use heavily with things like susy grid as my app develops.
Basically, I have installed
node-sass-chokidar
as explained here, to compile sass on the fly and have a nice setup, only to find that the index.html file is generated dynamically and each css file put inline into the head of this document, stripping out the sourcemap links so everything is shown inline in Developer tools.As part of the
scripts
section inpackage.json
, I have put thebuild-css
andwatch-css
lines, to which I have added the sourcemap generation. This section currently looks like this:Could anyone help me to understand where the css is being stripped out and how to link to css files directly or hook up sourcemaps again?
The text was updated successfully, but these errors were encountered: