Skip to content

Instantly share code, notes, and snippets.

@robksawyer
Created May 21, 2015 08:16
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 robksawyer/2fcf036fdf02436aa90b to your computer and use it in GitHub Desktop.
Save robksawyer/2fcf036fdf02436aa90b to your computer and use it in GitHub Desktop.
/**
* 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