Skip to content

Commit

Permalink
docs(plugins) Add .mjs to the defaults (#2493)
Browse files Browse the repository at this point in the history
This should be updated once webpack/webpack#7947 is released.
  • Loading branch information
philipwalton authored and montogeek committed Sep 18, 2018
1 parent d09b3bf commit a0c6b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/plugins/source-map-dev-tool-plugin.md
Expand Up @@ -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).
Expand Down

0 comments on commit a0c6b73

Please sign in to comment.