forked from drowl87/hextra_mirror

feat: implement sidebar feat: implement footer feat: implement breadcrumb chore: add typography styles chore: add heading anchor link chore: add postcss-nested
9 lines
396 B
JavaScript
9 lines
396 B
JavaScript
let tailwindConfig = process.env.HUGO_FILE_TAILWIND_CONFIG_JS || './tailwind.config.js';
|
|
const tailwind = require('tailwindcss')(tailwindConfig);
|
|
const autoprefixer = require('autoprefixer');
|
|
const nested = require('postcss-nested')
|
|
|
|
module.exports = {
|
|
plugins: [tailwind, nested, ...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : [])], // add nesting to the plugins array
|
|
};
|