From b62cf2a7c7d073af6b46206f31a0e95459d3cf99 Mon Sep 17 00:00:00 2001 From: Titouan Launay Date: Fri, 2 Feb 2024 19:16:11 -0800 Subject: [PATCH] Update package.json with import and require paths for CSS files --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 05bfca7..f1a2dae 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,12 @@ "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" + }, + "./dist/*.css": { + "import": "./dist/*.css", + "require": "./dist/*.css" } }, - "files": [ - "dist/*" - ], "scripts": { "build": "tsup", "test": "echo \"Error: no test specified\" && exit 1"