Sourcemaps with Angular Comapss & Chrome Dev Tools

20 views
Skip to first unread message

P Stockton

unread,
Jan 28, 2014, 7:45:34 PM1/28/14
to google-chrome-...@googlegroups.com
Hope that someone can point me  in the right direction, accept that this may not be the right group for this but...

I have a workflow set-up with  source maps in angular with comapss and sass, so I know that i have the right versions of comapss and sass running.


When I try to get it working with the useful Grunt Yo Angular scaffolding (Compass/ TBS Sass options) I get sourcemaps created in .tmp/Styles and everything appears to work as it should. The correct files are referenced in the Elements panel but the line numbers are wrong.

This is #153 of my gruntfile.js file, the only addition is highlighted:

// Compiles Sass to CSS and generates necessary files if requested
    compass: {
      options: {
        sourcemap: true,
        sassDir: '<%= yeoman.app %>/styles',

Any pointers would be welcome.

P
Reply all
Reply to author
Forward
0 new messages