From 4d840c76768b16133fae8a57fc05539092d6417a Mon Sep 17 00:00:00 2001 From: ManUtopiK Date: Thu, 30 Jan 2020 23:54:13 +0100 Subject: [PATCH] Whitelist leaflet for purgecss. --- postcss.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/postcss.config.js b/postcss.config.js index 7d003b1..51ee3ac 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,8 @@ module.exports = { plugins: { tailwindcss: {}, - 'vue-cli-plugin-tailwind/purgecss': {} + "vue-cli-plugin-tailwind/purgecss": { + whitelistPatterns: [/leaflet/, /marker/] + } } -} +};