diff --git a/services/web/webpack.config.js b/services/web/webpack.config.js index 80193ae00e..89c166f187 100644 --- a/services/web/webpack.config.js +++ b/services/web/webpack.config.js @@ -232,6 +232,11 @@ module.exports = { writeToFileEmit: true }), + // Silence react messages in the dev-tools console + new webpack.DefinePlugin({ + __REACT_DEVTOOLS_GLOBAL_HOOK__: '({ isDisabled: true })' + }), + // Prevent moment from loading (very large) locale files that aren't used new webpack.IgnorePlugin({ resourceRegExp: /^\.\/locale$/,