Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
honghuiliu
qsh-wc
Commits
e719bb73
Commit
e719bb73
authored
Sep 06, 2022
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
d97238ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vite.config.js
web/vite.config.js
+7
-1
No files found.
web/vite.config.js
View file @
e719bb73
...
@@ -30,7 +30,12 @@ export default ({
...
@@ -30,7 +30,12 @@ export default ({
output
:
{
output
:
{
entryFileNames
:
`gva/gin-vue-admin-[name].
${
timestamp
}
.js`
,
entryFileNames
:
`gva/gin-vue-admin-[name].
${
timestamp
}
.js`
,
chunkFileNames
:
`js/gin-vue-admin-[name].
${
timestamp
}
.js`
,
chunkFileNames
:
`js/gin-vue-admin-[name].
${
timestamp
}
.js`
,
assetFileNames
:
`assets/gin-vue-admin-[name].
${
timestamp
}
.[ext]`
assetFileNames
:
`assets/gin-vue-admin-[name].
${
timestamp
}
.[ext]`
,
manualChunks
(
id
)
{
if
(
id
.
includes
(
'node_modules'
))
{
return
id
.
toString
().
split
(
'node_modules/'
)[
1
].
split
(
'/'
)[
0
].
toString
();
}
}
}
}
}
}
...
@@ -72,6 +77,7 @@ export default ({
...
@@ -72,6 +77,7 @@ export default ({
manifest
:
false
,
// 是否产出manifest.json
manifest
:
false
,
// 是否产出manifest.json
sourcemap
:
false
,
// 是否产出sourcemap.json
sourcemap
:
false
,
// 是否产出sourcemap.json
outDir
:
'dist'
,
// 产出目录
outDir
:
'dist'
,
// 产出目录
chunkSizeWarningLimit
:
1500
,
rollupOptions
,
rollupOptions
,
},
},
esbuild
,
esbuild
,
...
...
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