grunt-crisper
Grunt plugin for Crisper that split inline scripts from an HTML file for CSP compliance
Issues with the output should be reported on the Crisper
issue tracker.
Install
$ npm install --save-dev grunt-crisper
Usage
crisper: dist: options: cleanup: false scriptInHead: false // true is default onlySplit: false src: 'app/vulcanized.html' dest: 'dist/vulcanized-csp.html' ;
Config
files
Options
cleanup
Type: Boolean
Default: true
It's set cleanup to true
, source file(vulcanized.html) will be removed after crisper task is done.
License
MIT © Jimmy Moon