diff --git a/content/configuration/output.md b/content/configuration/output.md index 05368eda405a..f76c3a1dc25a 100644 --- a/content/configuration/output.md +++ b/content/configuration/output.md @@ -6,6 +6,7 @@ contributors: - skipjack - tomasAlabes - mattce + - irth --- The top-level `output` key contains set of options instructing webpack on how and where it should output your bundles, assets and anything else you bundle or load with webpack. @@ -526,6 +527,17 @@ Note by default an empty string is used. Using some kind of indention makes bund There is no need to change it. +## `output.strictModuleExceptionHandling` + +`boolean` + +Tell webpack to remove a module from cache if it throws an exception when it is `require`d. + +It defaults to `false` for performance reasons. + +When set to `false`, the module is not removed from cache, which results in the exception getting thrown only on the first `require` call (making it incompatible with node.js). + + ## `output.umdNamedDefine` `boolean`