Append HTML tags for JS/CSS files.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-assetpush --save-dev
Run this task with the
grunt assetpush command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
Whether an existing file should be replaced or not.
What encoding should be used when writing the HTML tags.
assetpush:js:files:"path/to/scripts.html": "path/to/*.js" "another/path/to/file.js"css:files:"path/to/styles.html": "path/to/styles.css"