gulp-inline-html
A gulp plugin to inline js&css files into html file.
Usage
Firstly, install gulp-inline-html
as a development dependency:
npm install gulp-inline-html --save
Then, add it into your gulpfile.js
:
concat all files according to each directory:
const inlineHtml = ;const gulpIf = ;const babel = ;const autoprefixer = { extname = extname0 === '.' ? '' : '.' + extname return { return path === extname }} var isHtml = var isJs = var isCss = gulp //dosth with js and css ;
Parameters
disabledTypes
Type: Array
Default: []
To disable which file type not inline into html file.