Skip to content

Move postcss-prefix-custom-properties from peerDependencies to devDependencies#42592

Merged
mdo merged 1 commit into
v6-devfrom
v6-dev-jd-move-postcss-prefix-custom-properties-to-dev-dependencies
Jun 28, 2026
Merged

Move postcss-prefix-custom-properties from peerDependencies to devDependencies#42592
mdo merged 1 commit into
v6-devfrom
v6-dev-jd-move-postcss-prefix-custom-properties-to-dev-dependencies

Conversation

@julien-deramond

Copy link
Copy Markdown
Member

Description

postcss-prefix-custom-properties is currently listed as a peer dependency, but it is used as part of Bootstrap's internal build process to generate the final CSS output.

Some users who build Bootstrap from the Sass source with their own custom toolchain may rely on this PostCSS step, but this is not the default usage pattern. Most users consume Bootstrap's prebuilt CSS, where this transformation has already been applied.

Moving it to devDependencies keeps ownership of this build step within Bootstrap while still allowing advanced users with custom build pipelines to explicitly include the plugin when needed. On top of that, we don't force the use of PostCSS by adding it to peer dependencies.

This does not change the generated CSS or the Sass customization workflow; it only updates the dependency declaration to better reflect how the package is consumed.

@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Jun 28, 2026
@julien-deramond julien-deramond requested a review from mdo June 28, 2026 09:03
@mdo mdo merged commit 4df3861 into v6-dev Jun 28, 2026
12 checks passed
@mdo mdo deleted the v6-dev-jd-move-postcss-prefix-custom-properties-to-dev-dependencies branch June 28, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants