App skeleton
This commit is contained in:
22
tasks/register/build.js
Normal file
22
tasks/register/build.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* `tasks/register/build.js`
|
||||
*
|
||||
* ---------------------------------------------------------------
|
||||
*
|
||||
* This Grunt tasklist will be executed if you run `sails www` or
|
||||
* `grunt build` in a development environment.
|
||||
*
|
||||
* For more information see:
|
||||
* https://sailsjs.com/anatomy/tasks/register/build.js
|
||||
*
|
||||
*/
|
||||
module.exports = function(grunt) {
|
||||
grunt.registerTask('build', [
|
||||
// 'polyfill:dev', //« uncomment to ALSO transpile during development (for broader browser compat.)
|
||||
'compileAssets',
|
||||
// 'babel', //« uncomment to ALSO transpile during development (for broader browser compat.)
|
||||
'linkAssetsBuild',
|
||||
'clean:build',
|
||||
'copy:build'
|
||||
]);
|
||||
};
|
||||
Reference in New Issue
Block a user