Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
songxia-wxherr
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
songxia-wxherr
Commits
6f4b5b1c
Commit
6f4b5b1c
authored
Jun 16, 2017
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加生产环境vue配置
parent
320ebb78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
prod.js
config/prod.js
+4
-1
test.js
config/test.js
+3
-1
No files found.
config/prod.js
View file @
6f4b5b1c
...
...
@@ -10,7 +10,10 @@ module.exports = {
__BASE_URL__
:
JSON
.
stringify
(
'http://code.ibanshou.cn/songxia/'
),
__SERVER_URL__
:
JSON
.
stringify
(
'https://code.ibanshou.cn/'
),
__QINIU_URL__
:
JSON
.
stringify
(
'http://img.2g.vgot.net/'
),
__NODE_ENV__
:
'"production"'
__NODE_ENV__
:
'"production"'
,
'process.env'
:
{
NODE_ENV
:
'"production"'
}
}),
new
webpack
.
optimize
.
UglifyJsPlugin
({
compress
:
{
...
...
config/test.js
View file @
6f4b5b1c
...
...
@@ -10,7 +10,8 @@ module.exports = {
__BASE_URL__
:
JSON
.
stringify
(
'http://testweb.pp.cc/songxia/'
),
__SERVER_URL__
:
JSON
.
stringify
(
'http://testserv.pp.cc/wxherr/'
),
__QINIU_URL__
:
JSON
.
stringify
(
'http://img.2g.vgot.net/'
),
__NODE_ENV__
:
'"test"'
__NODE_ENV__
:
'"test"'
,
}),
new
webpack
.
optimize
.
UglifyJsPlugin
({
compress
:
{
...
...
@@ -20,6 +21,7 @@ module.exports = {
new
webpack
.
LoaderOptionsPlugin
({
minimize
:
true
})
],
devtool
:
'#source-map'
};
...
...
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