Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
d0100803
Commit
d0100803
authored
Aug 05, 2020
by
郭志伟
Committed by
郝聪敏
Aug 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: 环境调整
parent
0a949121
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
package.json
package.json
+1
-0
vue.config.js
vue.config.js
+5
-3
No files found.
package.json
View file @
d0100803
...
...
@@ -5,6 +5,7 @@
"scripts"
:
{
"serve"
:
"vue-cli-service serve --open"
,
"build"
:
"vue-cli-service build"
,
"report"
:
"vue-cli-service build --report"
,
"release"
:
"vue-cli-service build"
,
"lint"
:
"vue-cli-service lint"
},
...
...
vue.config.js
View file @
d0100803
...
...
@@ -3,9 +3,6 @@ const resolve = dir => path.join(__dirname, dir);
const
IS_PROD
=
process
.
env
.
NODE_ENV
===
"
production
"
;
module
.
exports
=
{
configureWebpack
:
{
devtool
:
"
source-map
"
},
chainWebpack
:
config
=>
{
config
.
plugin
(
"
html
"
).
tap
(
args
=>
{
args
[
0
].
title
=
"
芒果保险
"
;
...
...
@@ -66,6 +63,11 @@ module.exports = {
priority
:
20
,
// the weight needs to be larger than libs and app or it will be packaged into libs or app
test
:
/
[\\/]
node_modules
[\\/]
@qg
[\\/]
_
?
cherry-ui
(
.*
)
/
// in order to adapt to cnpm
},
// svg: {
// name: "chunk-svg",
// priority: 15,
// test: resolve("src/assets/icons/svg")
// },
commons
:
{
name
:
"
chunk-commons
"
,
test
:
resolve
(
"
src/components
"
),
// can customize your rules
...
...
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