From e586eaae1f287e02750d1ed7479664aa80eff8b5 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 15 Mar 2021 23:12:54 +0000 Subject: [PATCH] Update postcss.config.js structure --- web/themes/custom/opdavies/postcss.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/web/themes/custom/opdavies/postcss.config.js b/web/themes/custom/opdavies/postcss.config.js index 570c449..e692481 100644 --- a/web/themes/custom/opdavies/postcss.config.js +++ b/web/themes/custom/opdavies/postcss.config.js @@ -1,10 +1,10 @@ module.exports = { - plugins: [ - require('postcss-easy-import')({ + plugins: { + 'postcss-easy-import': { extensions: ['.css', '.pcss'] - }), - require('tailwindcss'), - require('postcss-nested'), - require('autoprefixer') - ] + }, + tailwindcss: {}, + 'postcss-nested': {}, + autoprefixer: {} + } }