Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tuia-robot-manager-node
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨贺晨吉
tuia-robot-manager-node
Commits
a0021f54
Commit
a0021f54
authored
Sep 19, 2023
by
杨贺晨吉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 1;
parent
f3fbf2ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
vue.config.js
vue.config.js
+7
-0
No files found.
vue.config.js
View file @
a0021f54
...
...
@@ -103,6 +103,7 @@ module.exports = {
publicPath
:
enableProduction
?
'//yun.tuisnake.com/'
:
'/'
,
outputDir
:
path
.
resolve
(
__dirname
,
'dist/'
),
// 部署优化
configureWebpack
:
{
// 使用CDN
...
...
@@ -114,6 +115,12 @@ module.exports = {
threshold
:
10240
// 对超过10k文件压缩
})
],
output
:
enableProduction
?
{
path
:
path
.
resolve
(
__dirname
,
'dist/'
),
filename
:
'assets/js/[name].[hash].js'
,
chunkFilename
:
'assets/js/[name].[hash].js'
}
:
{},
optimization
:
{
runtimeChunk
:
"single"
,
minimizer
:
jsPlugin
,
...
...
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