UNPKG

sails-generate-frontend

Version:

Default generator for frontend code files in new Sails projects. Creates the default contents of the `assets/` folder when you run `sails new` on the command-line. Also creates a subset of the boilerplate Grunt task files (in `tasks/`); specifically, the

23 lines (22 loc) 544 B
/** * `compileAssets` * * --------------------------------------------------------------- * * This Grunt tasklist is not designed to be used directly-- rather * it is a helper called by the `default`, `prod`, `build`, and * `buildProd` tasklists. * * For more information see: * http://sailsjs.org/documentation/anatomy/my-app/tasks/register/compile-assets-js * */ module.exports = function(grunt) { grunt.registerTask('compileAssets', [ 'clean:dev', 'jst:dev', 'less:dev', 'copy:dev', 'coffee:dev' ]); };