Last active
December 26, 2015 12:19
-
-
Save winwu/7150521 to your computer and use it in GitHub Desktop.
有使用到 sass 基本的 gruntfile.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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