From 396b1893d94a8f129f192fe31afa2c172ac8de19 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 27 Sep 2020 16:55:51 +0100 Subject: [PATCH] Update PurgeCSS settings --- tailwind.config.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 2e3655a..fb607f6 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,8 +1,11 @@ module.exports = { - purge: [ - 'public/index.html', - 'src/**/*.vue' - ], + purge: { + mode: 'layers', + content: [ + 'public/index.html', + 'src/**/*.vue' + ] + }, theme: { colors: { black: '#222', @@ -23,5 +26,8 @@ module.exports = { plugins: [], experimental: { applyComplexClasses: true + }, + future: { + purgeLayersByDefault: true } }