We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d56f52 commit 5803b2eCopy full SHA for 5803b2e
1 file changed
packages/stack-shared/package.json
@@ -1,9 +1,6 @@
1
{
2
"name": "@stackframe/stack-shared",
3
"version": "2.8.11",
4
- "main": "./dist/index.js",
5
- "types": "./dist/index.d.ts",
6
- "type": "module",
7
"scripts": {
8
"build": "rimraf dist && tsup-node",
9
"typecheck": "tsc --noEmit",
@@ -21,10 +18,16 @@
21
18
"exports": {
22
19
".": {
23
20
"types": "./dist/index.d.ts",
+ "require": {
+ "default": "./dist/index.js"
+ },
24
"default": "./dist/esm/index.js"
25
},
26
"./dist/*": {
27
"types": "./dist/*.d.ts",
28
29
+ "default": "./dist/*.js"
30
31
"default": "./dist/esm/*.js"
32
}
33
0 commit comments