File tree 2 files changed +20
-6
lines changed
2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line import/extensions
2
+ export * from './dist/internal.js'
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @netlify/functions" ,
3
3
"main" : " ./dist/main.js" ,
4
- "types" : " ./dist/main.d.ts" ,
5
4
"type" : " commonjs" ,
6
5
"exports" : {
7
6
"." : {
8
- "import" : " ./dist/main.mjs" ,
9
- "require" : " ./dist/main.js"
7
+ "require" : {
8
+ "types" : " ./dist/main.d.ts" ,
9
+ "default" : " ./dist/main.js"
10
+ },
11
+ "import" : {
12
+ "types" : " ./dist/main.d.mts" ,
13
+ "default" : " ./dist/main.mjs"
14
+ }
10
15
},
11
16
"./internal" : {
12
- "import" : " ./dist/internal.mjs" ,
13
- "require" : " ./dist/internal.js"
17
+ "require" : {
18
+ "types" : " ./dist/internal.d.ts" ,
19
+ "default" : " ./dist/internal.js"
20
+ },
21
+ "import" : {
22
+ "types" : " ./dist/internal.d.mts" ,
23
+ "default" : " ./dist/internal.mjs"
24
+ }
14
25
}
15
26
},
16
27
"version" : " 2.6.1" ,
19
30
" dist/**/*.js" ,
20
31
" dist/**/*.mjs" ,
21
32
" dist/**/*.d.ts" ,
22
- " dist/**/*.d.mts"
33
+ " dist/**/*.d.mts" ,
34
+ " internal.d.ts"
23
35
],
24
36
"scripts" : {
25
37
"build" : " tsup src --format esm,cjs --dts --clean" ,
You can’t perform that action at this time.
0 commit comments