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) • 660 B
JavaScript
/**
* `linkAssetsBuildProd`
*
* ---------------------------------------------------------------
*
* This Grunt tasklist is not designed to be used directly-- rather
* it is a helper called by the `buildProd` tasklist.
*
* For more information see:
* http://sailsjs.org/documentation/anatomy/my-app/tasks/register/link-assets-build-prod-js
*
*/
module.exports = function(grunt) {
grunt.registerTask('linkAssetsBuildProd', [
'sails-linker:prodJsRelative',
'sails-linker:prodStylesRelative',
'sails-linker:devTpl',
'sails-linker:prodJsRelativeJade',
'sails-linker:prodStylesRelativeJade',
'sails-linker:devTplJade'
]);
};