Skip to content

An opinionated toast component for React.

fix: styles.css is not declared in package.json (#508)

John Wu55c42f850ebc
diff --git a/package.json b/package.json
index c4ffa8b..c004b91 100644
--- a/package.json
+++ b/package.json
@@ -3,9 +3,12 @@
"version": "1.7.0",
"description": "An opinionated toast component for React.",
"exports": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.mjs",
- "require": "./dist/index.js"
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.mjs",
+ "require": "./dist/index.js"
+ },
+ "./dist/styles.css": "./dist/styles.css"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",