From a19e9ff96381aa63b79f05c22239d8abf58cb648 Mon Sep 17 00:00:00 2001 From: charlie Date: Mon, 10 Oct 2022 13:39:16 +0800 Subject: [PATCH] enhance(dev): postcss configures --- postcss.config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/postcss.config.js b/postcss.config.js index b8eedeef1..98d481f6a 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,8 +1,8 @@ -module.exports = (ctx) => ({ - plugins: [ - require('postcss-nested')({}), - require('postcss-import-ext-glob')({}), - require('postcss-import')({}), - require('tailwindcss')('tailwind.config.js'), - ], -}) +module.exports = { + plugins: { + 'postcss-import-ext-glob': {}, + 'postcss-import': {}, + 'tailwindcss/nesting': 'postcss-nested', + tailwindcss: {} + } +}