Skip to content

Commit 5a6c6f6

Browse files
authored
fix: Add exporter-netlify and instrumentation-fetch to exports (#400)
so these can be used directly by packages that would like to
1 parent 8fc2e28 commit 5a6c6f6

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

packages/otel/package.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,34 @@
3737
"types": "./dist/bootstrap/main.d.ts",
3838
"default": "./dist/bootstrap/main.js"
3939
}
40+
},
41+
"./exporter-netlify": {
42+
"require": {
43+
"types": "./dist/exporters/netlify.d.cts",
44+
"default": "./dist/exporters/netlify.cjs"
45+
},
46+
"import": {
47+
"types": "./dist/exporters/netlify.d.ts",
48+
"default": "./dist/exporters/netlify.js"
49+
},
50+
"default": {
51+
"types": "./dist/exporters/netlify.d.ts",
52+
"default": "./dist/exporters/netlify.js"
53+
}
54+
},
55+
"./instrumentation-fetch": {
56+
"require": {
57+
"types": "./dist/instrumentations/fetch.d.cts",
58+
"default": "./dist/instrumentations/fetch.cjs"
59+
},
60+
"import": {
61+
"types": "./dist/instrumentations/fetch.d.ts",
62+
"default": "./dist/instrumentations/fetch.js"
63+
},
64+
"default": {
65+
"types": "./dist/instrumentations/fetch.d.ts",
66+
"default": "./dist/instrumentations/fetch.js"
67+
}
4068
}
4169
},
4270
"files": [

0 commit comments

Comments
 (0)