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

Commit

Permalink
Fix tailwind parser to capture more css files and optimize package.js…
Browse files Browse the repository at this point in the history
…on (#9241)

* Fix tailwind parser to capture more css files and optimize package.json

* Update tailwind.config.js
  • Loading branch information
DanielBelmes authored Nov 10, 2023
1 parent 9de3d4e commit 5382f8f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 27 deletions.
26 changes: 13 additions & 13 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,11 @@
"@hookstate/core": "4.0.0-rc21",
"@mui/icons-material": "5.11.11",
"@mui/material": "5.11.13",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@swc/core": "1.3.41",
"@vitejs/plugin-basic-ssl": "^1.0.1",
"app-root-path": "3.1.0",
"autoprefixer": "^10.4.14",
"classnames": "2.3.2",
"cli": "1.0.1",
"credential-handler-polyfill": "^3.2.0",
"cross-env": "7.0.3",
"daisyui": "^3.1.9",
"i18next": "21.6.16",
"i18next-browser-languagedetector": "6.1.3",
"knex": "2.4.2",
Expand All @@ -62,14 +57,22 @@
"lodash": "4.17.21",
"moment": "2.29.4",
"notistack": "^3.0.1",
"postcss": "^8.4.23",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-file-drop": "3.1.6",
"react-full-screen": "1.1.1",
"react-i18next": "11.16.6",
"react-json-tree": "^0.18.0",
"react-router-dom": "6.9.0",
"react-router-dom": "6.9.0"
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@vitejs/plugin-basic-ssl": "^1.0.1",
"cross-env": "7.0.3",
"@types/node": "18.15.5",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"sass": "1.59.3",
"tailwind-merge": "^1.13.2",
"tailwindcss": "^3.3.2",
Expand All @@ -81,12 +84,9 @@
"vite-plugin-optimize-persist": "^0.1.2",
"vite-plugin-package-config": "0.1.1",
"vite-plugin-pwa": "^0.14.7",
"vite-plugin-svgr": "^4.1.0"
},
"devDependencies": {
"@types/node": "18.15.5",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"vite-plugin-svgr": "^4.1.0",
"postcss": "^8.4.23",
"daisyui": "^3.1.9",
"cli": "1.0.1",
"config": "3.3.9",
"node-fetch": "2.6.9",
Expand Down
20 changes: 6 additions & 14 deletions packages/client/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/*
CPAL-1.0 License
Expand All @@ -24,19 +23,14 @@ All portions of the code written by the Ethereal Engine team are Copyright © 20
Ethereal Engine. All Rights Reserved.
*/


/** @type {import('tailwindcss').Config} */

module.exports = {
mode: 'jit',
content: [
'./src/**/*.{js,jsx,ts,tsx}',
'../ui/src/**/*.{js,jsx,ts,tsx}',
'./public/index.html'
],
darkMode: "class",
content: ['../**/*.{tsx}'],
darkMode: 'class',
important: true, // important in prod is must be
theme: ["default"],
theme: ['default'],
daisyui: {
themes: ['default', 'dark', 'vaporwave'],
// daisyUI config (optional)
Expand All @@ -45,10 +39,8 @@ module.exports = {
utils: true,
logs: false,
rtl: false,
prefix: "",
darkTheme: "dark",
prefix: '',
darkTheme: 'dark'
},
plugins: [
require("daisyui"),
],
plugins: [require('daisyui')]
}

0 comments on commit 5382f8f

Please sign in to comment.