Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cicd-01
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
wangjing2
cicd-01
Commits
651166ce
Commit
651166ce
authored
Feb 18, 2024
by
wangjing2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
config.js
config.js
+32
-0
No files found.
config.js
0 → 100644
View file @
651166ce
import
{
defineConfig
}
from
"umi"
;
import
env
from
"./env"
;
import
routes
from
"./routes"
;
import
proxy
from
"./proxy"
;
const
{
REACT_APP_ENV
=
"dev"
,
NODE_ENV
}
=
process
.
env
;
export
default
defineConfig
({
outputPath
:
'taian'
,
npmClient
:
"yarn"
,
plugins
:
[
"@umijs/plugins/dist/antd"
,
"@umijs/plugins/dist/locale"
,
"@umijs/plugins/dist/layout"
,
"@umijs/plugins/dist/initial-state"
,
"@umijs/plugins/dist/model"
,
"@umijs/plugins/dist/access"
,
"umi-plugin-keep-alive"
],
antd
:
{},
model
:
{},
initialState
:
{},
define
:
env
[
REACT_APP_ENV
],
routes
,
hash
:
true
,
history
:
{
type
:
'hash'
,
},
manifest
:
{
basePath
:
"/"
,
},
proxy
:
proxy
[
REACT_APP_ENV
||
"dev"
],
publicPath
:
NODE_ENV
!==
"development"
?
"./"
:
"/"
,
});
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