forked from drowl87/hextra_mirror

chore: add .gitignore feat: add hugo configs chore: initialize npm feat: add hugo tailwind starter site chore: add basic taskfile chore: add README.md feat: add 404 template chore: add .prettierrc chore: update hugo.toml feat: add icons and icon.html partial
9 lines
355 B
JavaScript
9 lines
355 B
JavaScript
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] : [])],
|
|
};
|