uswds / uswds-compile

Simple Gulp 4 functions for copying USWDS static assets and transforming USWDS Sass into browser-readable CSS.
Other
21 stars 12 forks source link

USWDS-Compile - Feature: Allow users to define SASS output style #80

Open mejiaj opened 9 months ago

mejiaj commented 9 months ago

Is your feature request related to a problem? Please describe.

Giving users the option of output style of SASS (minified vs unminified) could help improve debugging when prototyping and final CSS when shipping.

Describe the solution you'd like

Users can select whether they want minified or unminified CSS.

Describe alternatives you've considered

Output both minified and unminified and user can use either.

Additional context

Related to #79.

Code of Conduct

sanason commented 3 months ago

I'm thinking of using the USWDS compiler in https://github.com/GSA/touchpoints and I'd love to have this feature. Will there be a 1.2.0 release someday?

mejiaj commented 3 months ago

@sanason yes, but we need to release a small patch before 1.2.0.

Alternatively, we could compile both and allow folks to choose the one they want.

sanason commented 3 months ago

Alternatively, we could compile both and allow folks to choose the one they want.

That would work too.