Skip to content

Commit 998db0d

Browse files
authored
add "types" to package.json "exports" (#392)
<img width="821" alt="Screenshot 2024-02-23 at 20 28 42" src="https://github.com/projectwallace/css-analyzer/assets/1536852/121d6202-6560-496e-824b-8b1fd8ec1c7b">
1 parent efdb357 commit 998db0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"unpkg": "./dist/analyzer.umd.js",
2020
"exports": {
2121
"require": "./dist/analyzer.cjs",
22-
"default": "./dist/analyzer.modern.js"
22+
"default": "./dist/analyzer.modern.js",
23+
"types": "./dist/index.d.ts"
2324
},
2425
"types": "./dist/index.d.ts",
2526
"engines": {

0 commit comments

Comments
 (0)