From 6bc36f9e3b4775aac5b0f533751624cfdb016b22 Mon Sep 17 00:00:00 2001 From: anuveyatsu Date: Tue, 24 Aug 2021 11:54:01 +0600 Subject: [PATCH] [catalog/css setup][xs]: removed purging css as it is not working as expected. Removed theme configs in tailwind config. Note that CSS asset in production is now 298kb which is a lot comparing to 4kb previously. --- examples/catalog/postcss.config.js | 9 --------- examples/catalog/tailwind.config.js | 12 +----------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/examples/catalog/postcss.config.js b/examples/catalog/postcss.config.js index 0a7afd11..1a28b543 100644 --- a/examples/catalog/postcss.config.js +++ b/examples/catalog/postcss.config.js @@ -1,17 +1,8 @@ -const purgecss = [ - '@fullhuman/postcss-purgecss', - { - content: ['./components/**/*.tsx', './pages/**/*.tsx'], - defaultExtractor: (content) => content.match(/[\w-/:]+(?