Skip to content

Commit 52070d8

Browse files
committed
Let tsdown update package.json
1 parent 527ef53 commit 52070d8

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

packages/api/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
"author": "Brandon Keepers <brandon@openwaters.io>",
1111
"license": "MIT",
1212
"type": "module",
13-
"main": "./dist/index.mjs",
1413
"types": "./dist/index.d.mts",
1514
"exports": {
16-
".": {
17-
"types": "./dist/index.d.mts",
18-
"import": "./dist/index.mjs"
19-
}
15+
".": "./dist/index.mjs",
16+
"./package.json": "./package.json"
2017
},
2118
"files": [
2219
"dist"

packages/api/tsdown.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { defineConfig } from "tsdown";
22

33
export default defineConfig({
4+
exports: true,
45
entry: ["./src/index.ts"],
56
dts: true,
6-
format: ["esm"],
77
sourcemap: true,
88
declarationMap: true,
9-
target: "node18",
109
platform: "node",
1110
});

0 commit comments

Comments
 (0)