diff --git a/package.json b/package.json index 3351f6a5..22c2e437 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,8 @@ "import": "./dist/ninjakit.es.js", "require": "./dist/ninjakit.umd.js" }, - "./color-scheme": "./dist/color-scheme.js", + "./color-scheme": "./dist/color-scheme/index.js", + "./color-scheme/default.css": "./dist/color-scheme/default.css", "./style.css": "./dist/style.css" }, "files": [ @@ -94,7 +95,7 @@ "sideEffects": false, "scripts": { "build": "run-p build:**", - "build:color-scheme": "tsc --project tsconfig-color-scheme.json", + "build:color-scheme": "tsc --project tsconfig-color-scheme.json && cp src/lib/color-scheme/*.css dist/color-scheme", "build:lib": "vite build --mode=lib", "build:types": "tsc --emitDeclarationOnly --project tsconfig-types.json", "check": "run-p check:**",