Skip to content

Commit d0637e3

Browse files
author
yangfan19
committed
webpack-12
1 parent e579357 commit d0637e3

File tree

6 files changed

+2482
-25
lines changed

6 files changed

+2482
-25
lines changed

webpack-12/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22

33
## 代码压缩
44

5+
```shell
6+
1、uglifyjs-webpack-plugin // js压缩 [内置]
7+
2、optimize-css-assets-webpack-plugin // css压缩
8+
3、html-webpack-plugin // html压缩
9+
```
10+
511

612
执行以下的命令、生成的文件在dist文件夹中 自己手动创建index.html 进行引入search.js
713
```shell
814
npm run build
915
```
16+

0 commit comments

Comments
 (0)