Skip to content

Commit a0c6b73

Browse files
philipwaltonmontogeek
authored andcommitted
docs(plugins) Add .mjs to the defaults (#2493)
This should be updated once webpack/webpack#7947 is released.
1 parent d09b3bf commit a0c6b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/plugins/source-map-dev-tool-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ new webpack.SourceMapDevToolPlugin(options);
2121

2222
The following options are supported:
2323

24-
- `test` (`string|regex|array`): Include source maps for modules based on their extension (defaults to `.js` and `.css`).
24+
- `test` (`string|regex|array`): Include source maps for modules based on their extension (defaults to `.js`, `.mjs`, and `.css`).
2525
- `include` (`string|regex|array`): Include source maps for module paths that match the given value.
2626
- `exclude` (`string|regex|array`): Exclude modules that match the given value from source map generation.
2727
- `filename` (`string`): Defines the output filename of the SourceMap (will be inlined if no value is provided).

0 commit comments

Comments
 (0)