16 lines
445 B
JavaScript
16 lines
445 B
JavaScript
const tailwindcss = require('tailwindcss');
|
|
const path = require('path');
|
|
const autoprefixer = require('autoprefixer');
|
|
|
|
const config = {
|
|
plugins: [
|
|
//Some plugins, like tailwindcss/nesting, need to run before Tailwind,
|
|
tailwindcss(path.resolve(__dirname, './tailwind.config.cjs')),
|
|
//But others, like autoprefixer, need to run after,
|
|
//But others, like autoprefixer, need to run after,
|
|
autoprefixer()
|
|
]
|
|
};
|
|
|
|
module.exports = config;
|