An open API service indexing awesome lists of open source software.

https://github.com/libi/gulp-html-packer

gulp解析html内的css js引用合并压缩后替换
https://github.com/libi/gulp-html-packer

gulp html packer

Last synced: about 2 months ago
JSON representation

gulp解析html内的css js引用合并压缩后替换

Awesome Lists containing this project

README

          

### gulp html自动打包配置
#### 使用方法
1.安装npm,执行 ``` npm install ```

2.打开gulpfile.js根据注释信息修改

3. 在原始html内将需要压缩合并的 css引用 的首行和末行分别加入
```html

```

4.在原始html内将需要压缩合并的 js引用 的首行和末行分别加入
```html

```

5. 执行 ``` gulp ``` 命令打包