Created
May 21, 2015 08:16
-
-
Save robksawyer/2fcf036fdf02436aa90b 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
/** | |
* Remove files and folders. | |
* | |
* --------------------------------------------------------------- | |
* | |
* This grunt task is configured to remove the contents that aren't needed in the .tmp/public of your | |
* sails project. This is mostly to fix bower component issues. | |
* | |
* For usage docs see: | |
* https://www.npmjs.com/package/grunt-remove | |
*/ | |
module.exports = function(grunt) { | |
grunt.config.set('remove', { | |
bower: { | |
options: {}, | |
dirList: [ | |
'.tmp/public/dist', //bootstrap | |
'.tmp/public/fonts' //fontawesome | |
] | |
} | |
}); | |
grunt.loadNpmTasks('grunt-remove'); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment