Skip to content

Commit

Permalink
feat(rollup): add .mts and .cts to supported extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 4, 2024
1 parent 2a3f908 commit 633ffe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/builder/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { esbuild } from "./plugins/esbuild";
import { JSONPlugin } from "./plugins/json";
import { rawPlugin } from "./plugins/raw";
import { cjsPlugin } from "./plugins/cjs";
import { klona } from "klona/full";
import {
shebangPlugin,
makeExecutable,
Expand All @@ -42,6 +41,8 @@ import chalk from "chalk";
const DEFAULT_EXTENSIONS = [
".ts",
".tsx",
".mts",
".cts",
".mjs",
".cjs",
".js",
Expand Down

0 comments on commit 633ffe9

Please sign in to comment.