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

Allow SASS sourcemaps #712

Closed
drewcovi opened this issue May 13, 2014 · 2 comments
Closed

Allow SASS sourcemaps #712

drewcovi opened this issue May 13, 2014 · 2 comments

Comments

@drewcovi
Copy link

When using SASS it would be super helpful to use the static-compiler to also move the scss file into the output directory. Currently modifying the preprocessors.js file to add

sourceMap: true;

does successfully create the map file in the output directory. Unfortunately the map points to the wrong source file (using the url of the tmp file).

I realize that broccoli-sass is simply using it's source file to build the app.css.map, although in ember-cli that source is only a temporary item, not available while using ember server

@bguiz
Copy link
Contributor

bguiz commented Jun 4, 2014

+1 I would like this feature added myself.

@drewcovi Just to clarify: When you say preprocessors.js, are you referring to node_modules/ember-cli/lib/preprocessors.js?

Where in this file do you add sourceMap: true to - the only mention I find of it is this line (line 12):

registry.add('css', 'broccoli-sass', 'scss');

@stefanpenner
Copy link
Contributor

related to: #810

closing this one, feel free to continue the discussion on 810

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

No branches or pull requests

3 participants