Skip to content

docs: document style/sass/less export conditions#21532

Open
sauravbhattacharya001 wants to merge 1 commit intovitejs:mainfrom
sauravbhattacharya001:docs/export-conditions-stylesheet
Open

docs: document style/sass/less export conditions#21532
sauravbhattacharya001 wants to merge 1 commit intovitejs:mainfrom
sauravbhattacharya001:docs/export-conditions-stylesheet

Conversation

@sauravbhattacharya001
Copy link

Closes #21526

Summary

This PR adds documentation for the style, sass, and less export conditions feature that was added in #7817 (v4.2.0) but remained undocumented.

Changes

  • Added a new Stylesheet Export Conditions subsection under resolve.conditions in the shared options documentation
  • Explains which export conditions are automatically applied when resolving stylesheets from packages
  • Includes example package.json configuration showing how to use these conditions
  • Provides usage examples for different stylesheet types (CSS, Sass, Less)

Documentation Location

  • docs/config/shared-options.md - Added section after the main resolve.conditions documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document style/sass/less export conditions

1 participant