SASS files don't get mapped
See original GitHub issueSince i have to process SASS files to CSS for my Angular2 app, i created the following task:
gulp.task('create:styles', function(cb) {
return gulp.src('src/app/**/*.scss')
.pipe(sourcemap.init())
.pipe(sass().on('error', sass.logError))
.pipe(sourcemap.write())
.pipe(gulp.dest(paths.dist + '/app/'));
});
As you can see i’m using sourcemaps plugin to map source files of styles.
Do you know why i can’t see the source files (.scss
) in the inspection tools of browsers? What’s wrong with sourcemaps plugin?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
Why won't the Sass property map-get work? - Stack Overflow
I have a map of font weights. I then try to access one of the keys using map-get() however when I save my...
Read more >Dart Sass Command-Line Interface
Sass watches only the directories that you pass as-is on the command line, parent directories of filenames you pass on the command line,...
Read more >How to Use Sass with CSS - freeCodeCamp
Sass is a CSS preprocessor that helps you manage tasks in large projects where the style sheets get larger, you have a number...
Read more >SASS compiler generated .css.map files don't work in Chrome ...
I have a very similar problem with .css.map files generated by the LESS compiler. They do not work in Chrome unless I remove...
Read more >Sass, SCSS, and Less | WebStorm Documentation - JetBrains
css.map files in a separate folder. Let's start with a simple case. Suppose you have a custom_output.scss file in the project root ...
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
No results found
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
Hi again. I think I’ve found my problem. First, my gulpfile.js was wrong. This is the corrected version:
Second, I had to active in my Firefox browser in developer options this one:
I was dealing with this issue for days. I hope it helps someone else. Best regards
Here, on Chromium 52.0.2743.116 still not work:
I have no
.scss
file in the source folder…