swc/crates/swc_bundler/tests/deno-exec/deno-9307/.case1/input/entry.ts
2021-11-09 20:42:49 +09:00

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 });