feat: adopt hinode v3.7.0 with the js.Build script pipeline#615
Merged
Conversation
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>
✅ Deploy Preview for gethinode-template ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mininfix. 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 = trueoverride under[minify.tdewolff.js]inconfig/_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/versionare 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..mininfix:core.bundle.en.0dd512f9….js(148,911 bytes, ~149 KB), plus ESM variantcore.bundle.en.0d1c7da2….mjs(1,456 bytes)defer(crossorigin=anonymous).minreference is the CSS bundle (styles lane, expected)npm test(lint suite): green🤖 Generated with Claude Code