Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
夏日掠影
vue-vben-admin
提交
cf840e3e
V
vue-vben-admin
项目概览
夏日掠影
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cf840e3e
编写于
7月 06, 2021
作者:
V
Vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf: image compression configuration optimization
上级
82eb72bb
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
124 addition
and
157 deletion
+124
-157
build/vite/plugin/imagemin.ts
build/vite/plugin/imagemin.ts
+4
-3
package.json
package.json
+6
-6
yarn.lock
yarn.lock
+114
-148
未找到文件。
build/vite/plugin/imagemin.ts
浏览文件 @
cf840e3e
...
@@ -13,7 +13,7 @@ export function configImageminPlugin() {
...
@@ -13,7 +13,7 @@ export function configImageminPlugin() {
optimizationLevel
:
7
,
optimizationLevel
:
7
,
},
},
mozjpeg
:
{
mozjpeg
:
{
quality
:
8
,
quality
:
20
,
},
},
pngquant
:
{
pngquant
:
{
quality
:
[
0.8
,
0.9
],
quality
:
[
0.8
,
0.9
],
...
@@ -22,10 +22,11 @@ export function configImageminPlugin() {
...
@@ -22,10 +22,11 @@ export function configImageminPlugin() {
svgo
:
{
svgo
:
{
plugins
:
[
plugins
:
[
{
{
removeViewBox
:
false
,
name
:
'
removeViewBox
'
,
},
},
{
{
removeEmptyAttrs
:
false
,
name
:
'
removeEmptyAttrs
'
,
active
:
false
,
},
},
],
],
},
},
...
...
package.json
浏览文件 @
cf840e3e
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
"
@iconify/iconify
"
:
"
^2.0.3
"
,
"
@iconify/iconify
"
:
"
^2.0.3
"
,
"
@logicflow/core
"
:
"
^0.5.0
"
,
"
@logicflow/core
"
:
"
^0.5.0
"
,
"
@logicflow/extension
"
:
"
^0.5.0
"
,
"
@logicflow/extension
"
:
"
^0.5.0
"
,
"
@vueuse/core
"
:
"
^5.
0.3
"
,
"
@vueuse/core
"
:
"
^5.
1.0
"
,
"
@zxcvbn-ts/core
"
:
"
^1.0.0-beta.0
"
,
"
@zxcvbn-ts/core
"
:
"
^1.0.0-beta.0
"
,
"
ant-design-vue
"
:
"
2.2.0-rc.1
"
,
"
ant-design-vue
"
:
"
2.2.0-rc.1
"
,
"
axios
"
:
"
^0.21.1
"
,
"
axios
"
:
"
^0.21.1
"
,
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
"
print-js
"
:
"
^1.6.0
"
,
"
print-js
"
:
"
^1.6.0
"
,
"
qrcode
"
:
"
^1.4.4
"
,
"
qrcode
"
:
"
^1.4.4
"
,
"
resize-observer-polyfill
"
:
"
^1.5.1
"
,
"
resize-observer-polyfill
"
:
"
^1.5.1
"
,
"
sortablejs
"
:
"
^1.1
3
.0
"
,
"
sortablejs
"
:
"
^1.1
4
.0
"
,
"
tinymce
"
:
"
^5.8.2
"
,
"
tinymce
"
:
"
^5.8.2
"
,
"
vditor
"
:
"
^3.8.5
"
,
"
vditor
"
:
"
^3.8.5
"
,
"
vue
"
:
"
3.1.4
"
,
"
vue
"
:
"
3.1.4
"
,
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
"devDependencies"
:
{
"devDependencies"
:
{
"
@commitlint/cli
"
:
"
^12.1.4
"
,
"
@commitlint/cli
"
:
"
^12.1.4
"
,
"
@commitlint/config-conventional
"
:
"
^12.1.4
"
,
"
@commitlint/config-conventional
"
:
"
^12.1.4
"
,
"
@iconify/json
"
:
"
^1.1.3
69
"
,
"
@iconify/json
"
:
"
^1.1.3
70
"
,
"
@purge-icons/generated
"
:
"
^0.7.0
"
,
"
@purge-icons/generated
"
:
"
^0.7.0
"
,
"
@types/codemirror
"
:
"
^5.60.1
"
,
"
@types/codemirror
"
:
"
^5.60.1
"
,
"
@types/crypto-js
"
:
"
^4.0.1
"
,
"
@types/crypto-js
"
:
"
^4.0.1
"
,
...
@@ -123,10 +123,10 @@
...
@@ -123,10 +123,10 @@
"
ts-node
"
:
"
^10.0.0
"
,
"
ts-node
"
:
"
^10.0.0
"
,
"
typescript
"
:
"
4.3.5
"
,
"
typescript
"
:
"
4.3.5
"
,
"
vite
"
:
"
2.4.0-beta.2
"
,
"
vite
"
:
"
2.4.0-beta.2
"
,
"
vite-plugin-compression
"
:
"
^0.
2.5
"
,
"
vite-plugin-compression
"
:
"
^0.
3.0
"
,
"
vite-plugin-html
"
:
"
^2.0.7
"
,
"
vite-plugin-html
"
:
"
^2.0.7
"
,
"
vite-plugin-imagemin
"
:
"
^0.
3.2
"
,
"
vite-plugin-imagemin
"
:
"
^0.
4.0
"
,
"
vite-plugin-mock
"
:
"
^2.
8
.0
"
,
"
vite-plugin-mock
"
:
"
^2.
9
.0
"
,
"
vite-plugin-purge-icons
"
:
"
^0.7.0
"
,
"
vite-plugin-purge-icons
"
:
"
^0.7.0
"
,
"
vite-plugin-pwa
"
:
"
^0.8.1
"
,
"
vite-plugin-pwa
"
:
"
^0.8.1
"
,
"
vite-plugin-style-import
"
:
"
^1.0.1
"
,
"
vite-plugin-style-import
"
:
"
^1.0.1
"
,
...
...
yarn.lock
浏览文件 @
cf840e3e
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录