@@ -5,7 +5,7 @@ await Promise.all([
5
5
esbuild . build ( {
6
6
entryPoints : [ "src/index.ts" ] ,
7
7
bundle : true ,
8
- outfile : "dist/esm.js " ,
8
+ outfile : "dist/index.mjs " ,
9
9
plugins : [ tscPlugin ( { force : true } ) ] ,
10
10
external : [ "uuidv7" , "isows" ] ,
11
11
format : "esm" ,
@@ -15,7 +15,7 @@ await Promise.all([
15
15
esbuild . build ( {
16
16
entryPoints : [ "src/index.ts" ] ,
17
17
bundle : true ,
18
- outfile : "dist/cjs.js " ,
18
+ outfile : "dist/index.cjs " ,
19
19
plugins : [ tscPlugin ( { force : true } ) ] ,
20
20
external : [ "uuidv7" , "isows" ] ,
21
21
format : "cjs" ,
@@ -25,7 +25,7 @@ await Promise.all([
25
25
esbuild . build ( {
26
26
entryPoints : [ "src/index.ts" ] ,
27
27
bundle : true ,
28
- outfile : "dist/esm .bundled.js " ,
28
+ outfile : "dist/index .bundled.mjs " ,
29
29
plugins : [ tscPlugin ( { force : true } ) ] ,
30
30
format : "esm" ,
31
31
minifyWhitespace : true ,
@@ -37,7 +37,7 @@ Bun.spawn([
37
37
"bunx" ,
38
38
"dts-bundle-generator" ,
39
39
"-o" ,
40
- "dist/types .d.ts" ,
40
+ "dist/index .d.ts" ,
41
41
"src/index.ts" ,
42
42
"--no-check" ,
43
43
"--export-referenced-types" ,
0 commit comments