View our GitHub

Please visit sails-docs on GitHub to view documentation on your mobile device.

Edit Page

myApp/tasks/register/linkAssetsBuildProd.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'
    ]);
};

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails-docs repo. Once we merge it, the changes will be immediately reflected on the website.