mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
docs(napi/minifier): point target to oxc docs (#23102)
This commit is contained in:
1 parent
e8051744a1
commit
275d318e5d
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -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>
|
||||
/**
|
||||
|
||||
@@ -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.*`.
|
||||
|
||||
Reference in new issue
Block a user