Skip to content

Commit e8f2c96

Browse files
authored
CEXT-5644: Fix package json incorrect export keys (#80)
* fix: package json incorrect export keys * chore: add changeset
1 parent 8045734 commit e8f2c96

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.changeset/free-parts-smell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@adobe/aio-lib-telemetry": patch
3+
---
4+
5+
Fixes a misconfiguration in the `package.json` export paths that was preventing correct usage of the library.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,31 @@
2828
".": {
2929
"import": {
3030
"types": "./dist/index.d.mts",
31-
"import": "./dist/index.mjs"
31+
"default": "./dist/index.mjs"
3232
},
3333
"require": {
3434
"types": "./dist/index.d.cts",
35-
"import": "./dist/index.cjs"
35+
"default": "./dist/index.cjs"
3636
}
3737
},
3838
"./otel": {
3939
"import": {
4040
"types": "./dist/otel.d.mts",
41-
"import": "./dist/otel.mjs"
41+
"default": "./dist/otel.mjs"
4242
},
4343
"require": {
4444
"types": "./dist/otel.d.cts",
45-
"import": "./dist/otel.cjs"
45+
"default": "./dist/otel.cjs"
4646
}
4747
},
4848
"./integrations": {
4949
"import": {
5050
"types": "./dist/integrations/index.d.mts",
51-
"import": "./dist/integrations/index.mjs"
51+
"default": "./dist/integrations/index.mjs"
5252
},
5353
"require": {
5454
"types": "./dist/integrations/index.d.cts",
55-
"import": "./dist/integrations/index.cjs"
55+
"default": "./dist/integrations/index.cjs"
5656
}
5757
},
5858
"./package.json": "./package.json"

0 commit comments

Comments
 (0)