create-react-app sass sourcemaps not working
See original GitHub issueSass sourcemaps shows only on yarn build
Can we have sourcemaps enabled by default in development ! yarn start
Environment
Node: v11.1.0 yarn: v1.12.1 npm: v6.4.1 Chrome: v70
Issue Analytics
- State:
- Created 5 years ago
- Reactions:23
- Comments:56 (6 by maintainers)
Top Results From Across the Web
Create-react-app SASS source maps not working
The text on my sass file remained white and would not update the css file whenever I added content. So, I renamed the...
Read more >Fixing sourcemap errors in Webpack 5 - Ionic React
The problem here is that Ionic React 6 uses react-scripts@5. This new version of react-scripts has sourcemap parsing enabled and will log a ......
Read more >Source Maps - SurviveJS
Source maps solve this problem by providing a mapping between the original and the transformed source code. In addition to source compiling to...
Read more >How to enable source maps in create-react-app?-Reactjs
Restart your app (if it's already running). source files get loaded in different locations, based on path in map file. Check all folders...
Read more >Add Sass to your React App in 2021! Here is how. - Medium
Lets make a brand new React App called sass-blog. (Skip this step if you are ... "sass" : "sass src/Sass:src/Css --watch --no-source-map".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
You can override the configuration by installing CRACO (https://github.com/sharegate/craco) in connection with the attached config files. Please note that this will enable sourcemaps in all circumstances, also in production builds:
craco.config.js
craco-plugin-sass-sourcemaps.js