aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2019-10-23 15:49:27 +0200
committerGitHub <noreply@github.com>2019-10-23 15:49:27 +0200
commit0aed3e68e656f175cc94ca3d3a44302df22ed23b (patch)
tree87f7c83ec42efbec6cdb5d32a048cf9857809561 /webpack.config.js
parent2dbbbc039d0a25d48ad8d99519896cc971c15c2d (diff)
parentaeb582d8b66d256a4c9c989589daab79b535e484 (diff)
downloadwcms-0aed3e68e656f175cc94ca3d3a44302df22ed23b.tar.gz
wcms-0aed3e68e656f175cc94ca3d3a44302df22ed23b.zip
Merge pull request #18 from n-peugnet/add-release-makefile
Add release makefile
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index e18b201..734b3cd 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -5,6 +5,7 @@ module.exports = (env) => {
// Environment dependent
mode: env == 'dev' ? 'development' : 'production',
devtool: env == 'dev' ? 'inline-source-map' : 'none',
+ stats: env == 'dev' ? {} : { warnings: false },
// Constant
entry: {
@@ -27,4 +28,4 @@ module.exports = (env) => {
],
},
}
-}; \ No newline at end of file
+};