From 2ce7356d87c00c7e0e60195721478dd8db2377c7 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Thu, 24 Jun 2021 11:13:28 +0200 Subject: [PATCH] [ex/catalog][xs]: try tweak to tailwind config to fix #568. --- examples/catalog/tailwind.config.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/examples/catalog/tailwind.config.js b/examples/catalog/tailwind.config.js index 11c390d8..5a48848f 100644 --- a/examples/catalog/tailwind.config.js +++ b/examples/catalog/tailwind.config.js @@ -1,5 +1,17 @@ module.exports = { - purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'], + // 2021-06-24 trying out fix for tailwind production that worked for main site + // see https://github.com/datopian/portal.js/issues/571 + // purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'], + purge: [ + "./pages/**/*.js", + "./pages/**/*.ts", + "./pages/**/*.jsx", + "./pages/**/*.tsx", + "./components/**/*.js", + "./components/**/*.ts", + "./components/**/*.jsx", + "./components/**/*.tsx" + ], mode: 'jit', theme: { fontSize: {