Skip to content

Commit 62b06fb

Browse files
committed
tsup config change
1 parent f99a51d commit 62b06fb

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
".": {
1515
"require": "./dist/index.js",
1616
"import": "./src/index.js",
17-
"types": "./dist/index.d.ts"
17+
"types": "./dist/index.d.ts",
18+
"fallback": "./dist/index.js"
1819
}
1920
},
2021
"files": [
@@ -55,6 +56,7 @@
5556
"axios": "1.10.0",
5657
"ipns": "10.1.2",
5758
"kubo-rpc-client": "5.2.0",
59+
"undici": "7.11.0",
5860
"winston": "3.12.0"
5961
}
6062
}

tsup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from "tsup";
22

33
export default defineConfig({
44
entry: ["src/index.js"],
5-
format: ["cjs", 'esm'],
5+
format: ["cjs"],
66
dts: true,
77
clean: true,
88
sourcemap: true,

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3279,6 +3279,11 @@ undici-types@~7.8.0:
32793279
resolved "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz"
32803280
integrity sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==
32813281

3282+
undici@7.11.0:
3283+
version "7.11.0"
3284+
resolved "https://registry.yarnpkg.com/undici/-/undici-7.11.0.tgz#8e13a54f62afa756666c0590c38b3866e286d0b3"
3285+
integrity sha512-heTSIac3iLhsmZhUCjyS3JQEkZELateufzZuBaVM5RHXdSBMb1LPMQf5x+FH7qjsZYDP0ttAc3nnVpUB+wYbOg==
3286+
32823287
universalify@^2.0.0:
32833288
version "2.0.1"
32843289
resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz"

0 commit comments

Comments
 (0)