gulp-inline-str
v0.1.0
Published
inline other text files as string in .js files.
Downloads
864
Readme
npm install --save-dev gulp-inline-str
gulp.src('src/**/*.js')
.pipe(inlineStr({
basePath: './src' // -- defaults to __dirname
})
var template = __inline('templates/panel.html');
------>
var template = "<div ....... >";