Skip to content

Commit 6303a56

Browse files
committed
✨ add CI/CD
1 parent b2a0d79 commit 6303a56

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

Diff for: CI/README1.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Jenkins
2+
3+
> 使用jenkins自动打包部署项目,font字体文件找不到? windows系统打包正常,可以加载。。
4+
***
5+
![打包的字体找不到](./img/bug1.png)
6+
7+
8+
> 这是因为打包生成的文件 大小超出了 webpack配置打包文件的大小,
9+
在webpack.base.config.js修改默认limit大小。
10+
11+
```
12+
{
13+
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
14+
loader: 'url-loader',
15+
options: {
16+
limit: 100000, //修改值大于打包生成的文件大小即可
17+
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
18+
}
19+
}
20+
21+
```

Diff for: CI/img/bug1.png

74.5 KB
Loading

Diff for: README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@
4040
1. [小程序🔥](wxapp/README1.md)
4141

4242

43-
44-
45-
46-
### Node
47-
43+
### CI/CD
44+
> 持续集成 / 持续交付
45+
***
46+
1. [Jenkins🔥](CI/README1.md)
4847

4948

0 commit comments

Comments
 (0)