Skip to content

Commit b145b33

Browse files
committed
fix package.json
1 parent 87e1180 commit b145b33

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77

8+
## [Unreleased]
9+
10+
- fix npm package exports for cjs
11+
812
## [0.2.4] - 2023-10-18
913

1014
- bundle correctly

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"description": "Instrument node.js applications with open telemetry ",
55
"type": "module",
66
"main": "dist/index.js",
7+
"exports": {
8+
"import": "./dist/index.js",
9+
"require": "./dist/index.cjs"
10+
},
711
"files": [
812
"dist"
913
],

0 commit comments

Comments
 (0)