Skip to content

Commit 3395150

Browse files
numandev1iiroj
andauthored
fix: add package.json to exports (#1059)
Co-authored-by: Iiro Jäppinen <[email protected]>
1 parent 9a14e92 commit 3395150

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
},
1919
"type": "module",
2020
"bin": "./bin/lint-staged.js",
21-
"exports": "./lib/index.js",
21+
"exports": {
22+
".": "./lib/index.js",
23+
"./package.json": "./package.json"
24+
},
2225
"files": [
2326
"bin",
2427
"lib"

0 commit comments

Comments
 (0)