0.4.2 • Published 5 years ago
gulp-inline-source-wrapper v0.4.2
gulp-inline-source-wrapper
About this project
- Source codes style is
ES2017
syntax. - This project is wrap the
inline-source
package with stream to adapt thegulp@4
. - You can choose
esm
version orcjs
version to import. - Only support Node version more than 10.
To do
- Cover more test cases.
Installing
npm i gulp-inline-source-wrapper
Example
General use
import gulp from "gulp"
import inlineSource from "gulp-inline-source-wrapper"
gulp.task( "merge:inline", () => {
return gulp.src( "dist/**/index.html" )
.pipe( inlineSource( { "compress": false } ) )
.pipe( gulp.dest( "dist" ) )
} )
Manual select
import gulp from "gulp"
import inlineSource from "gulp-inline-source-wrapper/dist/main.esm.js"
gulp.task( "merge:inline", () => {
return gulp.src( "dist/**/index.html" )
.pipe( inlineSource() )
.pipe( gulp.dest( "dist" ) )
} )
You can checkout the inline-source repository for more detailed use case.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
0.4.2
5 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.4.0-rc1
5 years ago
0.3.0
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago