2023-02-24 12:46:41 +03:00
|
|
|
const tailwindcss = require('tailwindcss');
|
|
|
|
const autoprefixer = require('autoprefixer');
|
2023-07-14 10:44:37 +03:00
|
|
|
const nested = require('tailwindcss/nesting');
|
2023-01-31 17:55:57 +03:00
|
|
|
|
|
|
|
const config = {
|
2023-02-24 12:46:41 +03:00
|
|
|
plugins: [
|
2023-07-13 12:28:48 +03:00
|
|
|
//Makes it easier to define .dark theme classes
|
2023-07-14 10:44:37 +03:00
|
|
|
nested,
|
2023-02-24 12:46:41 +03:00
|
|
|
//Some plugins, like tailwindcss/nesting, need to run before Tailwind,
|
|
|
|
tailwindcss(),
|
|
|
|
//But others, like autoprefixer, need to run after,
|
|
|
|
autoprefixer
|
|
|
|
]
|
2023-01-31 17:55:57 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|