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

Improve CSS minification in buildCSS #335

Open
acelaya opened this issue Jun 12, 2023 · 0 comments
Open

Improve CSS minification in buildCSS #335

acelaya opened this issue Jun 12, 2023 · 0 comments

Comments

@acelaya
Copy link
Contributor

acelaya commented Jun 12, 2023

The buildCSS function is currently compiling SASS code, and then passing it to postcss for processing.

The first step currently supports minification based on NODE_ENV, but the second always outputs unminified CSS.

Check possible options to improve this (or decide if it's worth it). One option would be adding an optional postcss plugin.

Context: #330 (comment)

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

No branches or pull requests

1 participant