mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 20:14:41 +00:00
- Add preact dependency to all 6 starter package.json files for proper js.Build resolution - Use automatic JSX runtime (JSX: "automatic", JSXImportSource: "preact") in libraries.html - Restore proper ES module imports in hero/client.jsx and Icon.jsx components - Remove vendored preact script loading since preact is now bundled via js.Build - Fixes CI build failures with "Could not resolve preact/jsx-runtime" errors - Provides cleaner, more standard JS tooling for users extending with custom components BREAKING CHANGE: Starters now require `preact` in `package.json`to resolve preact dependency before hugo build
18 lines
463 B
JSON
18 lines
463 B
JSON
{
|
|
"name": "hugo-blox-documentation-starter",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.14.0",
|
|
"description": "Documentation starter template for Hugo Blox with Tailwind CSS v4",
|
|
"scripts": {
|
|
"dev": "hugo server --disableFastRender",
|
|
"build": "hugo --minify"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/cli": "^4.1.12",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"preact": "^10.27.2",
|
|
"tailwindcss": "^4.1.12"
|
|
}
|
|
}
|