Skip to content

Commit

Permalink
Merge pull request #2 from pragmaticivan/fix-commonjs
Browse files Browse the repository at this point in the history
fix: enforce commonjs
  • Loading branch information
pragmaticivan authored Aug 9, 2024
2 parents 629b39b + 6533ac9 commit e71d8a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Pino OpenTelemetry Transport for log-sdk",
"main": "lib/index.js",
"typings": "lib/index",
"type": "commonjs",
"scripts": {
"prebuild": "rimraf lib",
"build": "tsc",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2020",
"lib": [ "es2015" ],
"target": "es6",
"outDir": "./lib",
"baseUrl": "./",
"incremental": true,
Expand Down

0 comments on commit e71d8a0

Please sign in to comment.