docs(napi/minifier): point target to oxc docs (#23102)

This commit is contained in:
camc314 committed 2026-06-08 00:43:18 +00:00
1 parent e8051744a1
commit 275d318e5d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ export interface CompressOptions {
*
* @default 'esnext'
*
* @see [esbuild#target](https://esbuild.github.io/api/#target)
* @see [oxc#target](https://oxc.rs/docs/guide/usage/transformer/lowering#target)
*/
target?: string | Array<string>
/**
+1 -1
View File
@@ -98,7 +98,7 @@ pub struct CompressOptions {
///
/// @default 'esnext'
///
/// @see [esbuild#target](https://esbuild.github.io/api/#target)
/// @see [oxc#target](https://oxc.rs/docs/guide/usage/transformer/lowering#target)
pub target: Option<Either<String, Vec<String>>>,
/// Pass true to discard calls to `console.*`.