From 55c42f850ebc5c59070367ea46bf0cb1b2c38fb6 Mon Sep 17 00:00:00 2001 From: John Wu Date: Sun, 10 Nov 2024 01:47:58 +0800 Subject: [PATCH] fix: styles.css is not declared in package.json (#508) --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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",