Skip to content

Commit

Permalink
core.mdx: Add "unknown" value to JSMinifyOptions module (#251)
Browse files Browse the repository at this point in the history
Hey folks! πŸ‘‹

swc-project/swc#9026 added a new value to the
`module` property in `JSMinifyOptions`, but the type declaration in
`core.mdx` was not updated.

This change fixes that.

Please let me know if I missed anything!
  • Loading branch information
sgomes authored Jun 20, 2024
1 parent 33f53f0 commit 40bcb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/docs/usage/core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export interface JsMinifyOptions {
ecma?: TerserEcmaVersion;
keep_classnames?: boolean;
keep_fnames?: boolean;
module?: boolean;
module?: boolean | "unknown";
safari10?: boolean;
toplevel?: boolean;
sourceMap?: boolean;
Expand Down

0 comments on commit 40bcb21

Please sign in to comment.