Skip to content

Commit a8e63df

Browse files
committed
clean up comments.
1 parent bf896eb commit a8e63df

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tsdown.config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const rewriteProtoPathMjs = {
2121
};
2222

2323
export default defineConfig([
24-
// CommonJS build
2524
{
2625
entry: "src/**/*.ts",
2726
unbundle: true,
@@ -32,14 +31,13 @@ export default defineConfig([
3231
treeshake: false,
3332
plugins: [rewriteProtoPath],
3433
},
35-
// ESM build (outputs .mjs files, no package.json needed)
3634
{
3735
entry: "src/**/*.ts",
3836
unbundle: true,
3937
format: "esm",
4038
outDir: "lib/esm",
41-
clean: false, // Don't clean since CJS already cleaned
42-
dts: false, // Only need types once (from CJS build)
39+
clean: false, // Don't clean - need to keep cjs/ output
40+
dts: false, // Already created from CJS build
4341
treeshake: false,
4442
plugins: [rewriteProtoPathMjs],
4543
},

0 commit comments

Comments
 (0)