Last active
December 30, 2015 18:29
-
-
Save kazu69/7867596 to your computer and use it in GitHub Desktop.
sample load-grunt-tasks
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) { | |
| // load all grunt tasks matching the `grunt-*` pattern | |
| require('load-grunt-tasks')(grunt); | |
| grunt.initConfig({}); | |
| grunt.registerTask('default', []); | |
| } |
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({}); | |
| // load tasks | |
| grunt.loadNpmTasks('grunt-htmlmin'); | |
| grunt.loadNpmTasks('grunt-sass'); | |
| grunt.loadNpmTasks('grunt-svgmin'); | |
| . | |
| . | |
| . | |
| grunt.registerTask('default', []); | |
| } |
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
| npm install --save-dev load-grunt-tasks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment