Skip to content

Commit febcc8a

Browse files
committed
chore: use mjs
1 parent ea23a37 commit febcc8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { fileURLToPath } from "node:url";
22
import path from "node:path";
3-
import fs from "node:fs";
43
import * as glob from "glob";
54
import dotenv from "dotenv";
65
import { build } from "vite";
@@ -51,6 +50,7 @@ const files = glob
5150
},
5251
output: {
5352
dir: ".stormkit/api",
53+
entryFileNames: "[name].mjs",
5454
format: "esm",
5555
manualChunks: () => "",
5656
},

0 commit comments

Comments
 (0)