appleboy / appleboy/gulp-compass

Source map comment not being added to CSS file

Open
#100 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
172
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I'm using version 2.0.4 and the issue I'm seeing is that the comment with the path to the source map isn't being added to the generated CSS file. For example:

/*# sourceMappingURL=main.css.map */

That bit isn't being added to the CSS file and so when I'm in DevTools, I don't see the mapping. When I add that bit manually, all is well. Any ideas what might be happening here?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the missing source map comment with version 2.0.4 and inspect how the generated CSS and source map are handled. The work is done when the generated CSS includes the /*# sourceMappingURL=main.css.map */ comment and DevTools shows the mapping.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript, sass
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.