From 42e91c6f1860142fbd116f254e3fb1da850ca630 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Thu, 17 Sep 2020 23:19:56 +0200 Subject: [PATCH] tailwind add purgeLayersByDefault --- tailwind.config.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 5f59174..19dad79 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,10 +1,16 @@ module.exports = { - purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'], + future: { + purgeLayersByDefault: true, + }, + purge: { + content: [ + './components/**/*.{js,ts,jsx,tsx}', + './pages/**/*.{js,ts,jsx,tsx}', + ], + }, theme: { extend: { - colors: { - 'accent-1': '#333', - }, + colors: {}, }, }, variants: {},