adds hugo starter tailwind theme

This commit is contained in:
Drew
2025-02-10 16:39:11 -07:00
parent 1317913e3a
commit 0be059b269
18 changed files with 3429 additions and 0 deletions

View File

@ -0,0 +1,8 @@
let tailwindConfig = process.env.HUGO_FILE_TAILWIND_CONFIG_JS || './tailwind.config.js';
const tailwind = require('tailwindcss')(tailwindConfig);
const autoprefixer = require('autoprefixer');
module.exports = {
// eslint-disable-next-line no-process-env
plugins: [tailwind, ...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : [])],
};