Gulp partials to script
Add the content of a partial between script
Install
Install with npm
npm install --save-dev gulp-partial-to-script
Example
src/greeting.html
Hello Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloribus, beatae, dicta, quo eum inventore repellat quidem accusantium perferendis error magnam sequi hic placeat aperiam iusto ipsum quas non repellendus quaerat!
gulpfile.js
var gulp = partials = ; gulp;
dist/greeting.html
API
partials(options)
- data : Type:
Object
{ suffix : "-viewtpl", ext : ".html"}
These are the default settings if options is undefined