From f3ecade0f46c46ce2de2cef07702f426b20c63b9 Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Mon, 25 Sep 2023 16:36:24 +0100 Subject: [PATCH] use postcss nesting plugin Although nesting is supported in most browsers now, this silences a vite warning and transpiles it to non-nested CSS. --- postcss.config.cjs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 postcss.config.cjs diff --git a/postcss.config.cjs b/postcss.config.cjs new file mode 100644 index 00000000..bab04a41 --- /dev/null +++ b/postcss.config.cjs @@ -0,0 +1,7 @@ +module.exports = { + plugins: { + "tailwindcss/nesting": {}, + tailwindcss: {}, + autoprefixer: {}, + }, +};