Logo
Explore Help
Sign In
Genius/hextra
1
0
Fork 0
You've already forked hextra
forked from drowl87/hextra_mirror
Code Pull Requests Activity
hextra/postcss.config.js

13 lines
382 B
JavaScript
Raw Normal View History

hugo init 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
2023-07-19 22:11:34 +01:00
let tailwindConfig = process.env.HUGO_FILE_TAILWIND_CONFIG_JS || './tailwind.config.js';
const tailwind = require('tailwindcss')(tailwindConfig);
const autoprefixer = require('autoprefixer');
module.exports = {
chore: move content to exampleSite * update dev and build command chore: move contents to exampleSite chore: add configs to exampleSite chore: use tailwindcss/nesting * add postcss-import * move imports to the top chore: add config for theme dev chore: add compiled css chore: fix last updated issue chore: dont't ignore hugo_stats.json chore: update index page layout
2023-08-12 16:45:00 +01:00
plugins: [
require('postcss-import'),
require('@tailwindcss/nesting'),
tailwind,
...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : [])
],
hugo init 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
2023-07-19 22:11:34 +01:00
};
Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 73ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API