From e2d123c919cc46eaea26324da283c083275313f7 Mon Sep 17 00:00:00 2001 From: Philip Walton Date: Thu, 6 Sep 2018 08:25:41 -0700 Subject: [PATCH] Add .mjs to the defaults This should be updated once https://github.com/webpack/webpack/pull/7947 is released. --- src/content/plugins/source-map-dev-tool-plugin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/plugins/source-map-dev-tool-plugin.md b/src/content/plugins/source-map-dev-tool-plugin.md index c74174df7008..9da4b42233be 100644 --- a/src/content/plugins/source-map-dev-tool-plugin.md +++ b/src/content/plugins/source-map-dev-tool-plugin.md @@ -21,7 +21,7 @@ new webpack.SourceMapDevToolPlugin(options); The following options are supported: -- `test` (`string|regex|array`): Include source maps for modules based on their extension (defaults to `.js` and `.css`). +- `test` (`string|regex|array`): Include source maps for modules based on their extension (defaults to `.js`, `.mjs`, and `.css`). - `include` (`string|regex|array`): Include source maps for module paths that match the given value. - `exclude` (`string|regex|array`): Exclude modules that match the given value from source map generation. - `filename` (`string`): Defines the output filename of the SourceMap (will be inlined if no value is provided).