gp-lr-deploy

0.3.0 • Public • Published

gp-lr-deploy

deploy static resource

A Simple Example

可以直接这样调用

var deploy = require('gp-lr-deploy');
var gulp = require('gulp');

gulp.src('./test/1.html')
  .pipe(deploy())
  .pipe(gulp.dest('dist/'));


Features
------------------
1、支持相对路径配置。opts.relativePath = opts.relativePath || '';
2、支持配置后缀的文件,不仅限于html文件。opts.exts = opts.exts || ['.html'];
Bug Fixed
------------------

Readme

Keywords

Package Sidebar

Install

npm i gp-lr-deploy

Weekly Downloads

1

Version

0.3.0

License

ISC

Last publish

Collaborators

  • lanrenqifu