From 1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 14 Feb 2022 19:02:54 +0100 Subject: feat: Experiment with tailwind --- src/webapp/postcss.config.cjs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/webapp/postcss.config.cjs (limited to 'src/webapp/postcss.config.cjs') diff --git a/src/webapp/postcss.config.cjs b/src/webapp/postcss.config.cjs new file mode 100644 index 0000000..e48cff5 --- /dev/null +++ b/src/webapp/postcss.config.cjs @@ -0,0 +1,13 @@ +const tailwindcss = require("tailwindcss"); +const autoprefixer = require("autoprefixer"); + +const config = { + plugins: [ + //Some plugins, like tailwindcss/nesting, need to run before Tailwind, + tailwindcss(), + //But others, like autoprefixer, need to run after, + autoprefixer, + ], +}; + +module.exports = config; -- cgit v1.3