npm / postcss-html
postcss-html
What changed in postcss-html 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
3 breaking1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpostcss-html 23 changes
Breaking changes 3
Deep imports are restricted, limiting which package internals consumers can import.
postcss moved to peerDependencies, changing how consumers declare and install it.
The package migrated to ESM, changing its module format for consumers.
postcss-html 11 changes
Fixes and other changes 1
Fixes a crash in toJSON() caused by the document property.