Initial commit

This commit is contained in:
2026-06-02 23:11:13 +02:00
commit 9ee43a6b2d
4274 changed files with 968260 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import type * as swcWasm from '@swc/wasm';
import type { CreateTranspilerOptions, Transpiler } from './types';
export interface SwcTranspilerOptions extends CreateTranspilerOptions {
/**
* swc compiler to use for compilation
* Set to '@swc/wasm' to use swc's WASM compiler
* Default: '@swc/core', falling back to '@swc/wasm'
*/
swc?: string | typeof swcWasm;
}
export declare function create(createOptions: SwcTranspilerOptions): Transpiler;