Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
1457be55
Commit
1457be55
authored
Aug 07, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update build.js
parent
c6b9ba0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
build.js
build/build.js
+2
-2
No files found.
build/build.js
View file @
1457be55
...
@@ -31,11 +31,11 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
...
@@ -31,11 +31,11 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
console
.
log
(
chalk
.
cyan
(
' Build complete.
\
n'
))
console
.
log
(
chalk
.
cyan
(
' Build complete.
\
n'
))
if
(
process
.
env
.
npm_config_preview
){
if
(
process
.
env
.
npm_config_preview
){
server
.
start
({
server
.
start
({
port
:
9528
,
port
:
1
9528
,
directory
:
'./dist'
,
directory
:
'./dist'
,
file
:
'/index.html'
file
:
'/index.html'
});
});
console
.
log
(
'> Listening at '
+
'http://localhost:9528'
+
'
\
n'
)
console
.
log
(
'> Listening at '
+
'http://localhost:
1
9528'
+
'
\
n'
)
}
}
})
})
})
})
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