Skip to content

Commit

Permalink
chore: updating package.json css path (#622)
Browse files Browse the repository at this point in the history
* chore: updating package.json css path

* chore: updating constraints.pro file
  • Loading branch information
georgewrmarshall authored Feb 9, 2024
1 parent ccb3049 commit ba91efd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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', 'src/css/']).
gen_enforced_field(WorkspaceCwd, 'files', ['dist', 'src/css/design-tokens.css']).

% If a dependency is listed under "dependencies", it should not be listed under
% "devDependencies".
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json",
"./src/css/design-tokens.css": "./src/css/design-tokens.css"
"./design-tokens.css": "./src/css/design-tokens.css"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"src/css/"
"src/css/design-tokens.css"
],
"scripts": {
"build": "tsup --clean && yarn build:types",
Expand Down

0 comments on commit ba91efd

Please sign in to comment.