Skip to content
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

Add option for appending sourceMappingURL comment #357

Closed
jessepollak opened this issue May 10, 2014 · 1 comment · Fixed by #440
Closed

Add option for appending sourceMappingURL comment #357

jessepollak opened this issue May 10, 2014 · 1 comment · Fixed by #440

Comments

@jessepollak
Copy link

Right not, if libsass is used to generate source maps, it automatically appends the sourceMappingURL to the CSS file. This causes issues where additional processing and/or relocation of the source map file is done upstream in the build process.

An example of where this causes problems can be found in dlmanning/gulp-sass#51. There, we need to strip the comment so the upstream processes can add it back in correctly.

It would be great to have an option to decide whether this comment is appended automatically or not.

@am11
Copy link
Contributor

am11 commented Jul 11, 2014

+1, exactly what we are looking for in node-sass.
sourceMapURL: false option should skip appending URL in CSS even if the source-maps are generated separately.

akhleung pushed a commit that referenced this issue Jul 28, 2014
Option: Map URL is now disableable (#357)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants