Skip to content

Commit 9a46111

Browse files
committed
fix(sdk): switched back to rollup
1 parent 484face commit 9a46111

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/traceloop-sdk/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"version": "0.5.16",
44
"description": "Traceloop Software Development Kit (SDK) for Node.js",
55
"main": "dist/src/index.js",
6+
"module": "dist/src/index.mjs",
67
"types": "dist/src/index.d.ts",
78
"repository": "traceloop/openllmetry-js",
89
"scripts": {
9-
"build": "tsc --build tsconfig.json",
10+
"build": "rollup -c",
1011
"lint": "eslint . --ext .ts",
1112
"lint:fix": "eslint . --ext .ts --fix",
1213
"test": "ts-mocha -p tsconfig.test.json 'test/**/*.test.ts'"

packages/traceloop-sdk/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"compilerOptions": {
44
"outDir": "dist",
55
"rootDir": ".",
6-
"experimentalDecorators": true
6+
"experimentalDecorators": true,
7+
"target": "es2017"
78
},
89
"include": ["src/**/*.ts"],
910
"references": []

0 commit comments

Comments
 (0)