Skip to content

Commit

Permalink
fix options
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 1, 2024
1 parent 83f9ccf commit ab47569
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/cli/src/swc/options.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
import commander from "commander";
import { DEFAULT_EXTENSIONS, version as swcCoreVersion } from "@swc/core";
import { version as swcCoreVersion } from "@swc/core";
import type { Options } from "@swc/core";

const DEFAULT_EXTENSIONS = [
".js",
".jsx",
".es6",
".es",
".mjs",
".ts",
".tsx",
".cts",
".mts",
];

const pkg = require("../../package.json");

let program: commander.Command;
Expand Down

0 comments on commit ab47569

Please sign in to comment.