Skip to content

Commit

Permalink
fix: minify styled-components css
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 4, 2025
1 parent 1b0008f commit bed80df
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export default defineConfig({
noImplicitBrowsersList: 'off',
},
tsconfig: 'tsconfig.dist.json',
babel: {reactCompiler: true},
babel: {reactCompiler: true, styledComponents: true},
reactCompilerOptions: {target: '18'},
})
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/ui",
"version": "2.10.17",
"version": "2.10.18-canary.0",
"keywords": [
"sanity",
"ui",
Expand Down Expand Up @@ -122,7 +122,7 @@
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@juggle/resize-observer": "^3.4.0",
"@sanity/pkg-utils": "^6.12.3",
"@sanity/pkg-utils": "^6.13.0",
"@sanity/prettier-config": "^1.0.3",
"@sanity/semantic-release-preset": "^5.0.0",
"@sanity/ui-workshop": "^2.0.20",
Expand Down Expand Up @@ -155,6 +155,7 @@
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.4",
"babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229",
"babel-plugin-styled-components": "^2.1.4",
"commitizen": "^4.3.1",
"cypress": "^13.17.0",
"cypress-real-events": "^1.13.0",
Expand Down
30 changes: 25 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bed80df

Please sign in to comment.