Skip to content

Instantly share code, notes, and snippets.

@winwu
Last active December 26, 2015 12:19
Show Gist options
  • Save winwu/7150521 to your computer and use it in GitHub Desktop.
Save winwu/7150521 to your computer and use it in GitHub Desktop.
有使用到 sass 基本的 gruntfile.js
module.exports = function(grunt){
grunt.initConfig({
pkg : grunt.file.readJSON('package.json'),
sass:{
dist: {
options:{
style: 'expanded'
},
files:{
'style.css': 'style.sass',
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('default',['sass']);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment