npm / postcss-import
postcss-import
What changed in postcss-import 13 to 15, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
5 breaking1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpostcss-import 153 changes
Breaking changes 2
The nameLayer option is required for handling anonymous layers.
Node.js v14 or newer is now required to use postcss-import.
Fixes and other changes 1
Fixes handling of @media queries inside layered imports.
postcss-import 143 changes
Breaking changes 1
Errors when CSS contains multiple incompatible @charset statements.
Behavior and default changes 1
Warns when @charset statements are not at the top of files.
Fixes and other changes 1
Fixes handling of @charset statements.
postcss-import 132 changes
Breaking changes 2
Node 10 or newer is now required to use postcss-import.
postcss-import upgrades to PostCSS 8 and requires postcss as a peer dependency.