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
98612382
Commit
98612382
authored
Feb 14, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改打包
parent
4565cdef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
base-manager-ui/admin/.gitignore
base-manager-ui/admin/.gitignore
+1
-0
base-manager-ui/admin/vue.config.js
base-manager-ui/admin/vue.config.js
+4
-4
No files found.
base-manager-ui/admin/.gitignore
View file @
98612382
...
@@ -10,6 +10,7 @@ yarn-error.log*
...
@@ -10,6 +10,7 @@ yarn-error.log*
selenium-debug.log
selenium-debug.log
dist.zip
dist.zip
基础设置系统.zip
基础设置系统.zip
zip/
# Editor directories and files
# Editor directories and files
.idea
.idea
.vscode
.vscode
...
...
base-manager-ui/admin/vue.config.js
View file @
98612382
...
@@ -14,9 +14,10 @@ if (!isDev) {
...
@@ -14,9 +14,10 @@ if (!isDev) {
new
FileManagerPlugin
({
new
FileManagerPlugin
({
events
:
{
events
:
{
onEnd
:
{
onEnd
:
{
mkdir
:
[
"
./dist
"
],
// mkdir: ["./dist"],
delete
:
[
"
./基础设置系统.zip
"
],
delete
:
[
"
./zip/
"
],
archive
:
[{
source
:
"
./dist
"
,
destination
:
"
./基础设置系统.zip
"
}],
copy
:
[{
source
:
"
./dist
"
,
destination
:
"
./zip/dist
"
}],
archive
:
[{
source
:
"
./zip
"
,
destination
:
"
./zip/基础设置系统.zip
"
}],
},
},
},
},
})
})
...
@@ -51,7 +52,6 @@ const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
...
@@ -51,7 +52,6 @@ const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
.
BundleAnalyzerPlugin
;
.
BundleAnalyzerPlugin
;
module
.
exports
=
{
module
.
exports
=
{
publicPath
:
"
./
"
,
publicPath
:
"
./
"
,
// 打包目录--多加一层dist打zip时候把dist外壳打进去
outputDir
:
"
dist
"
,
outputDir
:
"
dist
"
,
devServer
:
{
devServer
:
{
disableHostCheck
:
true
,
disableHostCheck
:
true
,
...
...
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