hackathon/postcss.config.cjs

16 lines
445 B
JavaScript

2021-12-23 05:34:24 +07:00
const tailwindcss = require('tailwindcss');
2022-04-28 23:31:09 +07:00
const path = require('path');
2021-12-23 05:34:24 +07:00
const autoprefixer = require('autoprefixer');
const config = {
plugins: [
//Some plugins, like tailwindcss/nesting, need to run before Tailwind,
2022-04-28 23:31:09 +07:00
tailwindcss(path.resolve(__dirname, './tailwind.config.cjs')),
//But others, like autoprefixer, need to run after,
2021-12-23 05:34:24 +07:00
//But others, like autoprefixer, need to run after,
autoprefixer()
]
};
module.exports = config;