Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mall-webview
Project
Project
Details
Activity
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
frontend
mall-webview
Commits
14b82b5d
Commit
14b82b5d
authored
Apr 08, 2021
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: build
parent
80c7dc77
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
package-lock.json
package-lock.json
+0
-0
build.js
scripts/build.js
+4
-4
vue.config.js
vue.config.js
+1
-0
No files found.
package-lock.json
View file @
14b82b5d
This diff is collapsed.
Click to expand it.
scripts/build.js
View file @
14b82b5d
...
...
@@ -7,7 +7,7 @@ const execa = require("execa");
const
resolve
=
d
=>
path
.
resolve
(
__dirname
,
d
);
const
bin
=
cmd
=>
resolve
(
"../node_modules/.bin/"
+
cmd
);
const
{
watch
,
lint
,
...
rest
}
=
args
;
const
{
watch
,
lint
}
=
args
;
let
cmd
=
"build"
;
...
...
@@ -17,9 +17,9 @@ if (lint) {
cmd
=
"serve"
;
}
let
deployMode
=
args
.
_
[
0
]
||
'production'
;
if
(
cmd
===
'serve'
)
{
deployMode
=
'test'
;
let
deployMode
=
args
.
_
[
0
]
||
"production"
;
if
(
cmd
===
"serve"
)
{
deployMode
=
"test"
;
}
process
.
env
.
VUE_APP_DEPLOY_MODE
=
deployMode
;
...
...
vue.config.js
View file @
14b82b5d
...
...
@@ -4,6 +4,7 @@ const { merge } = require("webpack-merge");
module
.
exports
=
{
publicPath
:
"./"
,
parallel
:
process
.
env
.
NODE_ENV
!==
"production"
,
outputDir
:
"mall-webview"
,
productionSourceMap
:
false
,
devServer
:
{
...
...
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