Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
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
office
haoban-4
Commits
50352553
Commit
50352553
authored
Sep 18, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 取消调试
parent
7f483e09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vue.config.js
vue.config.js
+3
-3
No files found.
vue.config.js
View file @
50352553
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘
* @LastEditTime: 2020-09-18 16:
05:52
* @LastEditTime: 2020-09-18 16:
22:46
*/
const
path
=
require
(
"path"
);
...
...
@@ -49,14 +49,14 @@ module.exports = {
}
};
config
.
entry
.
app
=
[
"babel-polyfill"
,
"./src/main.js"
];
/*
if (process.env.NODE_ENV === 'production') {
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
warnings
=
false
;
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
drop_console
=
true
;
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
drop_debugger
=
true
;
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
pure_funcs
=
[
'console.log'
];
}
*/
}
},
chainWebpack
:
config
=>
{
const
types
=
[
'vue-modules'
,
'vue'
,
'normal-modules'
,
'normal'
]
...
...
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