fix: atoms css scoping (#25921)
* fix: atoms css scoping * fixup! fix: atoms css scoping
This commit is contained in:
1 parent
c3bcd623f6
commit
b8827aca52
3 files changed
+669
-13
No files matched your search
@@ -10,8 +10,8 @@
|
||||
"url": "https://github.com/calcom/cal.com"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "yarn vite build --watch & npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify --watch",
|
||||
"build": "NODE_OPTIONS='--max_old_space_size=12288' rm -rf dist && yarn vite build && npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify",
|
||||
"dev": "yarn vite build --watch & npx postcss ./globals.css -o ./globals.min.css",
|
||||
"build": "NODE_OPTIONS='--max_old_space_size=12288' rm -rf dist && yarn vite build && npx postcss ./globals.css -o ./globals.min.css",
|
||||
"publish-npm": "yarn build && npm publish --access public",
|
||||
"test": "jest",
|
||||
"dev-on": "node scripts/dev-on.js",
|
||||
@@ -28,8 +28,10 @@
|
||||
"@vitejs/plugin-react": "^2.2.0",
|
||||
"@vitejs/plugin-react-swc": "^3.7.0",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"cssnano": "^7.1.2",
|
||||
"jest": "^29.7.0",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-cli": "^11.0.1",
|
||||
"postcss-import": "^16.1.0",
|
||||
"postcss-prefixer": "^3.0.0",
|
||||
"postcss-prefixwrap": "1.46.0",
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
export default {
|
||||
plugins: {
|
||||
"@tailwindcss/postcss": {},
|
||||
"postcss-prefixwrap": ".calcom-atoms",
|
||||
cssnano: {
|
||||
preset: "default",
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user