mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
22 lines
619 B
JavaScript
22 lines
619 B
JavaScript
const tailwindcss = require("tailwindcss");
|
|
const tailwindNesting = require('tailwindcss/nesting');
|
|
const postcssPresetEnv = require('postcss-preset-env');
|
|
const atImport = require('postcss-import');
|
|
|
|
const config = {
|
|
plugins: [
|
|
atImport(),
|
|
tailwindNesting(),
|
|
tailwindcss(),
|
|
postcssPresetEnv({
|
|
stage: 3,
|
|
features: {
|
|
'nesting-rules': false,
|
|
'custom-media-queries': true,
|
|
'media-query-ranges': true
|
|
}
|
|
}),
|
|
] //Some plugins, like tailwindcss/nesting, need to run before Tailwind, tailwindcss(), //But others, like autoprefixer, need to run after, autoprefixer]
|
|
};
|
|
|
|
module.exports = config;
|