Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
glpi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
GLPI
glpi
Commits
abcb711f
Commit
abcb711f
authored
Apr 25, 2019
by
Cédric Anne
Committed by
Johan Cwiklinski
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Limit verbosity of webpack build
parent
5bc9c55e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
webpack.config.js
webpack.config.js
+18
-4
No files found.
webpack.config.js
View file @
abcb711f
...
...
@@ -321,10 +321,24 @@ for (let packageName in libs) {
}
module
.
exports
=
(
env
,
argv
)
=>
{
if
(
argv
.
mode
===
'
development
'
)
{
glpiConfig
.
devtool
=
'
source-map
'
;
libsConfig
.
devtool
=
'
source-map
'
;
var
configs
=
[
glpiConfig
,
libsConfig
];
for
(
let
config
of
configs
)
{
// Limit verbosity to only usefull informations
config
.
stats
=
{
all
:
false
,
errors
:
true
,
errorDetails
:
true
,
warnings
:
true
,
entrypoints
:
true
,
timings
:
true
,
};
if
(
argv
.
mode
===
'
development
'
)
{
config
.
devtool
=
'
source-map
'
;
}
}
return
[
glpiConfig
,
libsConfig
]
;
return
configs
;
};
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