Skip to content

Support user defined sass options#1

Merged
mdmower-csnw merged 1 commit into
csnw-dev-v1.2from
mdm-sassoptions
Nov 26, 2024
Merged

Support user defined sass options#1
mdmower-csnw merged 1 commit into
csnw-dev-v1.2from
mdm-sassoptions

Conversation

@mdmower-csnw

Copy link
Copy Markdown
Collaborator

Let end users define options that will be passed to sass-embedded during compilation. Omit outputStyle from configurable options to preserve sourcemaps paths: uswds#79. Note that includePaths is a legacy API option, so it doesn't need to be included in the types Omit<>.

Provide a good out-of-box experience by defaulting to sass options {quietDeps: true}, so that deprecation warnings related to the user's own styles are raised, but those from USWDS styles are suppressed.

Let end users define options that will be passed to sass-embedded during
compilation. Omit outputStyle from configurable options to preserve
sourcemaps paths: uswds#79. Note
that includePaths is a legacy API option, so it doesn't need to be
included in the types Omit<>.

Provide a good out-of-box experience by defaulting to sass options
{quietDeps: true}, so that deprecation warnings related to the user's
own styles are raised, but those from USWDS styles are suppressed.

@speck14 speck14 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdmower-csnw Review +

This is especially nice:

Provide a good out-of-box experience by defaulting to sass options {quietDeps: true}, so that deprecation warnings related to the user's own styles are raised, but those from USWDS styles are suppressed.

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.

2 participants