Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

chore: updating package.json css path #622

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading