From ea7358d8b3ba13023ba0ea6e278b95d8c7009801 Mon Sep 17 00:00:00 2001 From: Jeff Dyer Date: Thu, 12 May 2022 14:43:01 -0700 Subject: [PATCH] Turn off purgecss for now --- pages/index.jsx | 1 - postcss.config.js | 30 +++++++++++++++--------------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/pages/index.jsx b/pages/index.jsx index d0e175a..94abfdc 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -2,7 +2,6 @@ import { Fragment } from 'react' import { Popover, Transition } from '@headlessui/react' import { MenuIcon, XIcon, AnnotationIcon, GlobeAltIcon, LightningBoltIcon, ScaleIcon } from '@heroicons/react/outline' -import { Image } from 'next/image' const navigation = [ { name: 'About', href: '#' }, diff --git a/postcss.config.js b/postcss.config.js index bc84e47..88c7208 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -2,20 +2,20 @@ module.exports = { plugins: [ 'tailwindcss', 'autoprefixer', - [ - "@fullhuman/postcss-purgecss", - process.env.NODE_ENV === "production" - ? { - // the paths to all template files - content: [ - "./pages/**/*.{js,jsx,ts,tsx}", - "./components/**/*.{js,jsx,ts,tsx}", - ], - // function used to extract class names from the templates - defaultExtractor: (content) => - content.match(/[\w-/:]+(? + // content.match(/[\w-/:]+(?