Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.