From 78e8692ece7c3b5ee82750e545dce217b1cc7271 Mon Sep 17 00:00:00 2001 From: George Marshall Date: Fri, 2 Feb 2024 13:14:10 -0800 Subject: [PATCH] chore: updating package.json and contraints.prop config to allow for css (#609) --- constraints.pro | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/constraints.pro b/constraints.pro index 22199e5d..3f2b3ba7 100644 --- a/constraints.pro +++ b/constraints.pro @@ -81,7 +81,7 @@ gen_enforced_field(WorkspaceCwd, 'exports["./package.json"]', './package.json'). % The list of files included in the package must only include files generated % during the build step. -gen_enforced_field(WorkspaceCwd, 'files', ['dist']). +gen_enforced_field(WorkspaceCwd, 'files', ['dist', 'src/css/']). % If a dependency is listed under "dependencies", it should not be listed under % "devDependencies". diff --git a/package.json b/package.json index cdaa5c17..88887f21 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "module": "./dist/index.mjs", "types": "./dist/types/index.d.ts", "files": [ - "dist" + "dist", + "src/css/" ], "scripts": { "build": "tsup --clean && yarn build:types",