Last active
March 30, 2016 14:23
-
-
Save julesbou/81edbebf82c96939198b0c1d32fe4d77 to your computer and use it in GitHub Desktop.
This file contains 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
grunt.initConfig({ | |
less: { | |
src: ['styles.less'], | |
dest: 'styles.css' | |
}, | |
postcss: { | |
options: { | |
processors: [ | |
require('autoprefixer')(), | |
] | |
}, | |
dist: { | |
src: 'styles.css' | |
} | |
} | |
}); | |
grunt.loadNpmTasks('grunt-contrib-less'); | |
grunt.loadNpmTasks('grunt-postcss'); | |
grunt.registerTask('css', ['less', 'postcss']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment