mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
25 lines
734 B
JavaScript
25 lines
734 B
JavaScript
const tailwindcss = require('tailwindcss');
|
|
const autoprefixer = require('autoprefixer');
|
|
const postcssMediaMinmax = require('postcss-media-minmax');
|
|
const customMedia = require('postcss-custom-media');
|
|
const atImport = require('postcss-import');
|
|
const postcssNested = require('postcss-nested');
|
|
const postcssEnvFunction = require('postcss-env-function');
|
|
|
|
const config = {
|
|
plugins: [
|
|
//Some plugins, like tailwindcss/nesting, need to run before Tailwind,
|
|
tailwindcss(),
|
|
//But others, like autoprefixer, need to run after
|
|
autoprefixer(),
|
|
postcssMediaMinmax,
|
|
customMedia,
|
|
atImport(),
|
|
postcssNested,
|
|
postcssEnvFunction({
|
|
importFrom: './src/lib/util/environmentVariables.json'
|
|
}),
|
|
]
|
|
};
|
|
|
|
module.exports = config;
|