diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index a953ddc..df609ae 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -60,6 +60,9 @@ const config = { extractComments: false }) ] + }, + node: { + global: false // Prevents webpack from breaking CSP, see https://github.com/microlinkhq/react-json-view/issues/76 } }