Skip to content

Commit 59f8356

Browse files
ylfeng250pubuzhixing8
authored andcommitted
feat: add index.css export
- Add ./index.css export path in package.json exports field - Allow users to import styles via @drawnix/drawnix/index.css
1 parent a046d15 commit 59f8356

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/drawnix/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"import": "./index.mjs",
1818
"require": "./index.js",
1919
"types": "./index.d.ts"
20-
}
20+
},
21+
"./index.css": "./index.css"
2122
}
2223
}
24+

0 commit comments

Comments
 (0)