summaryrefslogtreecommitdiff
path: root/postcss.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'postcss.config.js')
-rw-r--r--postcss.config.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/postcss.config.js b/postcss.config.js
new file mode 100644
index 0000000..f45bc24
--- /dev/null
+++ b/postcss.config.js
@@ -0,0 +1,12 @@
+let tailwindConfig = process.env.HUGO_FILE_TAILWIND_CONFIG_JS || './tailwind.config.js';
+const tailwind = require('tailwindcss')(tailwindConfig);
+const autoprefixer = require('autoprefixer');
+
+module.exports = {
+ plugins: [
+ require('postcss-import'),
+ require('@tailwindcss/nesting'),
+ tailwind,
+ autoprefixer
+ ],
+};