feat: adopt the purged-by-default styles pipeline (hinode v3.6.0)#614
Open
markdumay wants to merge 1 commit into
Open
feat: adopt the purged-by-default styles pipeline (hinode v3.6.0)#614markdumay wants to merge 1 commit into
markdumay wants to merge 1 commit into
Conversation
Bump hinode v3.0.0 -> v3.6.0 (S1-S3 styles pipeline) and align the starter: - Replace config/postcss.config.js with the current hinode baseline (purge-first order purgecss -> autoprefixer -> cssnano default; drop cssnano-preset-advanced). - Pin Bootstrap 5.3.8's browserslist in package.json for autoprefixer. - Drop the now-redundant explicit style.purge = true (v3.6.0 defaults it on). - Stop committing hugo_stats.json and gitignore it (build.buildStats regenerates it). Fresh-site build: green, purged CSS served (main.css 198 KB, autoprefixer prefixes present), no purge/postcss warnings, run-vs-run deterministic.
✅ 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
Adopts the modernized styles pipeline that shipped in hinode v3.6.0 (program slices S1-S3):
hinode/v3v3.0.0 → v3.6.0 (hugo mod get; transitive module drag from v3.6.0'srequirements is included and vendored).
config/postcss.config.jswith the current hinode baseline: plugin orderpurgecss → autoprefixer → cssnano(purge first), cssnanodefaultpreset (drop theadvancedpreset + thecssnano-preset-advanceddependency), and reason-commented safelist.package.jsonso autoprefixer targets the browsersBootstrap supports.
style.purge = true— v3.6.0 defaults it on.hugo_stats.jsonand gitignore it (build.buildStatsregenerates it).Evidence (fresh-site build,
hugo --gc --minify)main.css198 KB, autoprefixer prefixes present (67-webkit-).+vendor, S2 guard present, defaultpurge = true).Part of the styles-pipeline modernization program (slice S4). Held for review.