Autoinsert script tags (or other filebased tags) in an html file
grunt.initConfig({
'sails-linker-cdn': {
defaultOptions: {
options: {
startTag: '<!--SCRIPTS-->',
endTag: '<!--SCRIPTS END-->',
fileTmpl: '<script src="%s"></script>',
},
files: {
// Target-specific file lists and/or options go here.
'app/index.html': ["//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"]
},
},
},
})