gulp-staticfy

0.0.7 • Public • Published

gulp-staticfy

Staticfy your website for gulp

Usage

First, install gulp-staticfy as a development dependency:

npm install --save-dev gulp-staticfy

Usage Examples

gulp.task(`staticfy`, function() {
        return gulp.src('src/**/*.html')
            .pipe(staticfy({
                query_string: `lang=en`
            }))
            .pipe(gulp.dest('build'));
    });

Options

options.query_string

Type: String Default value: ''

url query string

options.server_url

Type: String Default value: ''

the simple http server host

Readme

Keywords

Package Sidebar

Install

npm i gulp-staticfy

Weekly Downloads

8

Version

0.0.7

License

MIT

Last publish

Collaborators

  • kebingzao
  • weilao