Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
4565cdef
Commit
4565cdef
authored
Feb 14, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改打包
parent
f654d514
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
portal-manager-ui/admin/.gitignore
portal-manager-ui/admin/.gitignore
+1
-0
portal-manager-ui/admin/vue.config.js
portal-manager-ui/admin/vue.config.js
+5
-4
No files found.
portal-manager-ui/admin/.gitignore
View file @
4565cdef
...
...
@@ -3,6 +3,7 @@ node_modules
/dist
dist.zip
门户系统.zip
/zip
# local env files
.env.local
.env.*.local
...
...
portal-manager-ui/admin/vue.config.js
View file @
4565cdef
...
...
@@ -8,9 +8,10 @@ if (!isDev) {
new
FileManagerPlugin
({
events
:
{
onEnd
:
{
mkdir
:
[
"
./dist
"
],
delete
:
[
"
./门户系统.zip
"
],
archive
:
[{
source
:
"
./dist
"
,
destination
:
"
./门户系统.zip
"
}],
// mkdir: ["./dist"],
delete
:
[
"
./门户系统.zip
"
,
"
./zip/
"
],
copy
:
[{
source
:
"
./dist
"
,
destination
:
"
./zip/dist
"
}],
archive
:
[{
source
:
"
./zip
"
,
destination
:
"
./zip/门户系统.zip
"
}],
},
},
})
...
...
@@ -19,7 +20,7 @@ if (!isDev) {
module
.
exports
=
defineConfig
({
transpileDependencies
:
true
,
lintOnSave
:
false
,
// 打包目录
--多加一层dist打zip时候把dist外壳打进去
// 打包目录
outputDir
:
"
dist
"
,
configureWebpack
:
{
plugins
:
[...
plugins
],
...
...
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