We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 527ef53 commit 52070d8Copy full SHA for 52070d8
2 files changed
packages/api/package.json
@@ -10,13 +10,10 @@
10
"author": "Brandon Keepers <brandon@openwaters.io>",
11
"license": "MIT",
12
"type": "module",
13
- "main": "./dist/index.mjs",
14
"types": "./dist/index.d.mts",
15
"exports": {
16
- ".": {
17
- "types": "./dist/index.d.mts",
18
- "import": "./dist/index.mjs"
19
- }
+ ".": "./dist/index.mjs",
+ "./package.json": "./package.json"
20
},
21
"files": [
22
"dist"
packages/api/tsdown.config.js
@@ -1,11 +1,10 @@
1
import { defineConfig } from "tsdown";
2
3
export default defineConfig({
4
+ exports: true,
5
entry: ["./src/index.ts"],
6
dts: true,
- format: ["esm"],
7
sourcemap: true,
8
declarationMap: true,
9
- target: "node18",
platform: "node",
});
0 commit comments