Questions tagged [grunt-contrib-sass]

Sass is a preprocessor that adds nested rules, variables, mixins and functions, selector inheritance, and more to CSS. Sass files compile into well-formatted, standard CSS to use in your site or application.

Sass is a preprocessor that adds nested rules, variables, mixins and functions, selector inheritance, and more to CSS. Sass files compile into well-formatted, standard CSS to use in your site or application.

This task requires you to have Ruby and Sass installed. If you're on OS X or Linux you probably already have Ruby installed; test with ruby -v in your terminal. When you've confirmed you have Ruby installed, run gem install sass to install Sass.

66 questions
0
votes
1 answer

Change 'dest' option dynamically

Hi all, Following this question : https://github.com/gruntjs/grunt-contrib-sass/issues/190 I'm trying to specify the 'dest' option depending on the 'src' one. The only difference is the /scss that has to be removed. Here is a sample of my current…
0
votes
2 answers

Sass - Complex folder structure with a lot of css files

Hi everyone, I have a lot of css files in my project with a very complex structure so I had to replicate the structure of the folders containing css files at the root of the project. So every time I save a scss file, grunt has to check each 160+…
0
votes
0 answers

Error spawn Enoent Gruntjs on win 8.1

I'm trying to run a basic app with gruntjs. Everything works fine, but once I try to run my sass-related grunt task, I have this error: $ grunt sass Running "sass:dist" (sass) task Warning: spawn ENOENT Use --force to continue. I already have…
rick_zan
  • 71
  • 10
0
votes
1 answer

grunt-contrib-sass generates one file instead of multiple files

For some reason grunt-contrib-sass generates a combined .css file instead of multiple .css files. But this only happens when I define the ext option. File structure: app/ assets/ stylesheets/ application.web.scss …
hyounis
  • 4,529
  • 2
  • 18
  • 16
0
votes
1 answer

Source map error when attempting to run grunt server

I'm unable to access my sass files when running grunt server. Not sure if this is just a file path/permission error or something greater. Running sudo grunt server gives the same output grunt server Running "server" task Running "clean:dist"…
0
votes
2 answers

Rails, Sass and Grunt

I'm trying out switching to using Grunt for all my asset stuff in my Rails app rather than the asset pipeline. (Just a trial, I can dispose of this and go back to asset pipeline at any time) I have the grunt-contrib-watch plugin watching and…
rctneil
  • 7,016
  • 10
  • 40
  • 83
1 2 3 4
5