mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
6a1c3da326
swc_bundler: - Fix keywords pass. swc_ecma_transforms_optimization: - Remove `dbg!`. - `constant_propagation`: Inline only injected variables.
21 lines
352 B
TypeScript
21 lines
352 B
TypeScript
import { parse } from "https://deno.land/std@0.84.0/flags/mod.ts";
|
|
|
|
const args = parse(Deno.args, {
|
|
boolean: [
|
|
"help",
|
|
"verbose",
|
|
],
|
|
alias: {
|
|
help: "h",
|
|
verbose: "v",
|
|
},
|
|
default: {
|
|
verbose: false,
|
|
},
|
|
}) as {
|
|
_: string[];
|
|
help: boolean;
|
|
verbose: boolean;
|
|
};
|
|
|
|
console.dir(args); |