mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 13:51:19 +03:00
13 lines
320 B
TypeScript
13 lines
320 B
TypeScript
import { parse } from "https://deno.land/std@0.80.0/flags/mod.ts";
|
|
|
|
import { Args, main } from "./src/mod.ts";
|
|
import { loadFile } from "./src/utils/deno.loadFile.ts";
|
|
|
|
const args = parse(Deno.args, {
|
|
default: {
|
|
outputDir: `./`,
|
|
},
|
|
});
|
|
|
|
await main(args as Args, { loadFile, writeTextFile: Deno.writeTextFile });
|