diff --git a/sites/partners/tailwind.config.js b/sites/partners/tailwind.config.js index f7e033b8ff..f4ca86305b 100644 --- a/sites/partners/tailwind.config.js +++ b/sites/partners/tailwind.config.js @@ -9,15 +9,14 @@ const bloomTheme = cloneDeep(require("@bloom-housing/ui-components/tailwind.conf // bloomTheme.theme.colors.white = "#f0f0e9" module.exports = { + ...bloomTheme, purge: { enabled: process.env.NODE_ENV !== "development", content: [ "./pages/**/*.tsx", "./src/**/*.tsx", - "./layouts/**/*.tsx", - "../../ui-components/src/**/*.tsx", + "../../node_modules/@bloom-housing/ui-components/src/**/*.tsx", ], safelist: [/grid-cols-/], }, - ...bloomTheme, } diff --git a/sites/public/tailwind.config.js b/sites/public/tailwind.config.js index f7e033b8ff..f4ca86305b 100644 --- a/sites/public/tailwind.config.js +++ b/sites/public/tailwind.config.js @@ -9,15 +9,14 @@ const bloomTheme = cloneDeep(require("@bloom-housing/ui-components/tailwind.conf // bloomTheme.theme.colors.white = "#f0f0e9" module.exports = { + ...bloomTheme, purge: { enabled: process.env.NODE_ENV !== "development", content: [ "./pages/**/*.tsx", "./src/**/*.tsx", - "./layouts/**/*.tsx", - "../../ui-components/src/**/*.tsx", + "../../node_modules/@bloom-housing/ui-components/src/**/*.tsx", ], safelist: [/grid-cols-/], }, - ...bloomTheme, }