Skip to content

Commit be0f23f

Browse files
committed
feat: export file logger as well
1 parent d0e89c0 commit be0f23f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,17 @@
1212
"node": ">=14.18 || >=16.20"
1313
},
1414
"types": "./dist/index.d.ts",
15-
"exports": "./dist/index.js",
15+
"module": "./dist/index.js",
16+
"exports": {
17+
".": {
18+
"import": "./dist/index.js",
19+
"types": "./dist/index.d.ts"
20+
},
21+
"./filelogger": {
22+
"import": "./dist/filelogger.js",
23+
"types": "./dist/filelogger.d.ts"
24+
}
25+
},
1626
"keywords": [
1727
"tinyhttp",
1828
"node.js",

0 commit comments

Comments
 (0)