Skip to content

Commit

Permalink
docs: add missing module option of swc minimizer plugin (web-infra-…
Browse files Browse the repository at this point in the history
…dev#6506)

docs: add missing `module` option of swc minimizer plugin.
  • Loading branch information
emosheeep authored May 10, 2024
1 parent 3d29349 commit 4b01ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ new rspack.SwcJsMinimizerRspackPlugin(options);
extractComments?: boolean | RegExp;
compress?: TerserCompressOptions | boolean;
mangle?: TerserMangleOptions | boolean;
module?: boolean;
format?: JsFormatOptions & ToSnakeCaseProperties<JsFormatOptions>;

test?: MinifyConditions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ new rspack.SwcJsMinimizerRspackPlugin(options);
extractComments?: boolean | RegExp;
compress?: TerserCompressOptions | boolean;
mangle?: TerserMangleOptions | boolean;
module?: boolean;
format?: JsFormatOptions & ToSnakeCaseProperties<JsFormatOptions>;

test?: MinifyConditions;
Expand Down

0 comments on commit 4b01ca0

Please sign in to comment.