Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
f2de7d59
Commit
f2de7d59
authored
Jun 22, 2022
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A
parent
8846f663
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/index.html
+1
-1
vue.config.js
+1
-1
No files found.
public/index.html
View file @
f2de7d59
...
...
@@ -25,7 +25,7 @@
<div
id=
"app"
>
<div
class=
"avue-home"
>
<div
class=
"avue-home__main"
>
<img
class=
"avue-home__loading"
src=
"
.
/svg/loading-spin.svg"
alt=
"loading"
>
<img
class=
"avue-home__loading"
src=
"/svg/loading-spin.svg"
alt=
"loading"
>
<div
class=
"avue-home__title"
>
正在加载资源
</div>
...
...
vue.config.js
View file @
f2de7d59
...
...
@@ -38,7 +38,7 @@ module.exports = {
test
:
new
RegExp
(
'
\\
.('
+
productionGzipExtensions
.
join
(
'|'
)
+
')$'
),
threshold
:
1024
,
// 只有大小大于该值的资源会被处理,当前配置为对于超过1k的数据进行处理,不足1k的可能会越压缩越大
minRatio
:
0.99
,
// 只有压缩率小于这个值的资源才会被处理
deleteOriginalAssets
:
tru
e
// 删除原文件
deleteOriginalAssets
:
fals
e
// 删除原文件
})
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment