Skip to content

Instantly share code, notes, and snippets.

@julesbou
Last active March 30, 2016 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julesbou/81edbebf82c96939198b0c1d32fe4d77 to your computer and use it in GitHub Desktop.
Save julesbou/81edbebf82c96939198b0c1d32fe4d77 to your computer and use it in GitHub Desktop.
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