Skip to content

Commit a008bed

Browse files
authored
feat(ui): minify css (#7988)
* feat(ui): minify * use tailwind's minify
1 parent 77f675c commit a008bed

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"plugins": {
33
"postcss-calc": {},
4-
"@tailwindcss/postcss": {}
4+
"@tailwindcss/postcss": {
5+
"optimize": true
6+
}
57
}
68
}

packages/ui-components/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,12 @@
4141
"classnames": "catalog:"
4242
},
4343
"devDependencies": {
44-
"@tailwindcss/postcss": "~4.1.11",
45-
"postcss-calc": "^10.1.1",
46-
"tailwindcss": "catalog:",
4744
"@storybook/addon-styling-webpack": "^2.0.0",
4845
"@storybook/addon-themes": "^9.0.15",
4946
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
5047
"@storybook/react": "^9.0.15",
5148
"@storybook/react-webpack5": "^9.0.15",
49+
"@tailwindcss/postcss": "~4.1.11",
5250
"@testing-library/user-event": "~14.6.1",
5351
"@types/node": "catalog:",
5452
"@types/react": "catalog:",
@@ -57,6 +55,7 @@
5755
"eslint-plugin-react": "~7.37.4",
5856
"eslint-plugin-storybook": "~9.0.3",
5957
"global-jsdom": "^26.0.0",
58+
"postcss-calc": "^10.1.1",
6059
"postcss-cli": "^11.0.1",
6160
"postcss-loader": "~8.1.1",
6261
"react": "catalog:",
@@ -66,6 +65,7 @@
6665
"stylelint-config-standard": "^38.0.0",
6766
"stylelint-order": "7.0.0",
6867
"stylelint-selector-bem-pattern": "4.0.1",
68+
"tailwindcss": "catalog:",
6969
"tsx": "^4.20.3",
7070
"typescript": "catalog:",
7171
"typescript-eslint": "~8.35.1"

0 commit comments

Comments
 (0)