Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support user defined sass options #1

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

mdmower-csnw
Copy link
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.
Copy link

@speck14 speck14 left a comment

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