Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Yasset Perez
pride-web
Commits
4302f9b4
Commit
4302f9b4
authored
Sep 12, 2018
by
shabai517
Browse files
update production compress scheme and remove logs
parent
5c9d9715
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
build/webpack.prod.conf.js
build/webpack.prod.conf.js
+3
-1
No files found.
build/webpack.prod.conf.js
View file @
4302f9b4
...
...
@@ -35,7 +35,9 @@ const webpackConfig = merge(baseWebpackConfig, {
new
UglifyJsPlugin
({
uglifyOptions
:
{
compress
:
{
warnings
:
false
warnings
:
false
,
drop_debugger
:
true
,
// self added for removing logs in productions
drop_console
:
true
// self added for removing logs in productions
}
},
sourceMap
:
config
.
build
.
productionSourceMap
,
...
...
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