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引用合并压缩后替换
- Host: GitHub
- URL: https://github.com/libi/gulp-html-packer
- Owner: libi
- Created: 2017-03-30T11:26:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-31T02:59:44.000Z (about 9 years ago)
- Last Synced: 2025-05-15T11:50:38.342Z (about 1 year ago)
- Topics: gulp, html, packer
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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 ``` 命令打包