Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
company-portal-ui
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
赵啸非
company-portal-ui
Commits
1e16d066
Commit
1e16d066
authored
Dec 03, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
1591efff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
admin/vue.config.js
admin/vue.config.js
+0
-29
No files found.
admin/vue.config.js
View file @
1e16d066
const
FileManagerPlugin
=
require
(
'
filemanager-webpack-plugin
'
)
module
.
exports
=
{
module
.
exports
=
{
productionSourceMap
:
false
,
productionSourceMap
:
false
,
assetsDir
:
"
s
"
,
assetsDir
:
"
s
"
,
lintOnSave
:
false
,
lintOnSave
:
false
,
configureWebpack
:
{
plugins
:
[
new
FileManagerPlugin
({
// 注意!记得这里需要加一层events节点,否则会报错噢,宝
events
:
{
onEnd
:
{
delete
:
[
'
./setup-project-manager-ui.tar.gz
'
,
],
archive
:
[{
source
:
'
./dist
'
,
destination
:
'
./setup-project-manager-ui.tar.gz
'
,
format
:
'
tar
'
,
options
:
{
gzip
:
true
,
gzipOptions
:
{
level
:
1
},
globOptions
:
{
nomount
:
true
}
}
}]
}
}
})
]
},
devServer
:
{
devServer
:
{
inline
:
true
,
inline
:
true
,
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