Skip to content

Commit 5baa034

Browse files
authored
fix: smoldot discovery connector cjs imports (#2576)
1 parent c1f13cd commit 5baa034

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/thin-tigers-burn.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@substrate/smoldot-discovery-connector": patch
3+
---
4+
5+
fix: smoldot discovery connector cjs imports

packages/smoldot-discovery-connector/tsup.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfig([
1717
entry: {
1818
index: "src/index.ts",
1919
},
20-
outDir: "dist/cjs",
20+
outDir: "dist/commonjs",
2121
format: ["cjs"],
2222
dts: true,
2323
sourcemap: true,

0 commit comments

Comments
 (0)