Skip to content

Instantly share code, notes, and snippets.

@imevro
Last active December 29, 2015 11:29
Show Gist options
  • Save imevro/7663835 to your computer and use it in GitHub Desktop.
Save imevro/7663835 to your computer and use it in GitHub Desktop.
grunt.initConfig({
sass: {
files: ['<%= yeoman.app %>/styles/{,*/}*.scss'],
tasks: ['sass:server', 'autoprefixer']
},
sass: {
server: {
files: {
'.tmp/styles/main.css': '<%= yeoman.app %>/styles/main.scss'
},
},
dist: {
options: {
outputStyle: 'compressed',
sourceComments: 'normal'
},
files: {
'.tmp/styles/main.css': '<%= yeoman.app %>/styles/main.scss'
},
},
},
concurrent: {
server: [
'sass:server',
],
dist: [
'sass:dist',
]
},
});
{
"devDependencies": {
"grunt-sass": "",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment