Skip to content

Commit b4bb150

Browse files
committed
fix(logger): add main and exports
1 parent d97e2e9 commit b4bb150

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

packages/logger/package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
{
22
"name": "@tailor-platform/function-logger",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Simple logger utility for Tailor applications",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/tailor-platform/function",
88
"directory": "packages/logger"
99
},
1010
"module": "dist/index.js",
11+
"main": "./dist/index.js",
1112
"types": "dist/index.d.ts",
1213
"type": "module",
14+
"exports": {
15+
".": {
16+
"types": "./dist/index.d.ts",
17+
"default": "./dist/index.js"
18+
}
19+
},
1320
"scripts": {
1421
"build": "tsc",
1522
"clean": "rm -rf dist"
@@ -20,4 +27,4 @@
2027
"files": [
2128
"dist"
2229
]
23-
}
30+
}

0 commit comments

Comments
 (0)