Skip to content

feat: adopt hinode v3.7.0 with the js.Build script pipeline#615

Merged
markdumay merged 1 commit into
mainfrom
chore/adopt-hinode-3.7.0
Jul 18, 2026
Merged

feat: adopt hinode v3.7.0 with the js.Build script pipeline#615
markdumay merged 1 commit into
mainfrom
chore/adopt-hinode-3.7.0

Conversation

@markdumay

Copy link
Copy Markdown
Collaborator

What v3.7.0 brings

Hinode v3.7.0 ships the js-pipeline modernization: first-party theme JS is now bundled as ESM via js.Build (mod-utils v6.7.0 bundlev3), with identifier mangling enabled and core-bundle asset URLs dropping the .min infix. The bundlev2 concat lane still serves optional modules and user-site custom JS, so fresh sites need no custom-JS changes. The bump also pulls the transitive module updates required by v3.7.0: mod-utils v6.7.0, mod-katex v1.1.7, mod-leaflet v3.1.3, mod-lottie v3.0.4, mod-mermaid v5.0.4.

keepVarNames

The template did carry a leftover keepVarNames = true override under [minify.tdewolff.js] in config/_default/hugo.toml (same leftover hinode's exampleSite had). Removed — a fresh-site template must not silently re-disable the mangling v3.7.0 enables. precision/version are kept as-is.

Also gitignored the js.Build-generated assets/jsconfig.json (mirrors hinode main).

Build evidence

Fresh-site build (npm run build, hugo-extended 0.161.1): zero ERROR lines.

  • Core bundle emitted without .min infix: core.bundle.en.0dd512f9….js (148,911 bytes, ~149 KB), plus ESM variant core.bundle.en.0d1c7da2….mjs (1,456 bytes)
  • Both referenced from rendered pages with SRI integrity + defer (crossorigin=anonymous)
  • Bundle contents show mangled identifiers, confirming the override removal took effect
  • Only remaining .min reference is the CSS bundle (styles lane, expected)
  • npm test (lint suite): green

🤖 Generated with Claude Code

Bump hinode v3.6.1 -> v3.7.0 (js-pipeline modernization): first-party theme JS
is now ESM bundled via js.Build (mod-utils v6.7.0 bundlev3); the bundlev2
concat lane still serves optional modules and user-site custom JS. Transitive
module updates pulled by the bump: mod-utils v6.7.0, mod-katex v1.1.7,
mod-leaflet v3.1.3, mod-lottie v3.0.4, mod-mermaid v5.0.4.

Align the starter with the new pipeline:
- Remove the leftover keepVarNames = true override from [minify.tdewolff.js];
  it would silently disable the identifier mangling v3.7.0 enables.
- Gitignore the js.Build-generated assets/jsconfig.json (mirrors hinode main).

Fresh-site build on Hugo 0.161: zero errors, core bundle emitted without the
.min infix (core.bundle.en.<hash>.js, 149 KB, mangled identifiers) plus the
ESM module variant, both referenced with SRI integrity + defer; lint green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Jul 18, 2026

Copy link
Copy Markdown

Deploy Preview for gethinode-template ready!

Name Link
🔨 Latest commit 6b1849f
🔍 Latest deploy log https://app.netlify.com/projects/gethinode-template/deploys/6a5b36a0274cf00008ec5576
😎 Deploy Preview https://deploy-preview-615--gethinode-template.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@markdumay
markdumay merged commit d375fec into main Jul 18, 2026
12 checks passed
@markdumay
markdumay deleted the chore/adopt-hinode-3.7.0 branch July 18, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant