Files
HugoBlox-kit/starters/documentation/package.json
T
George Cushen e9b31f8090 refactor(preact): switch from vendored globals to bundled node_modules approach
- 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
2025-09-25 21:51:54 +01:00

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"
}
}