hypothesis / hypothesis/frontend-build

Improve CSS minification in `buildCSS`

Open
#335 0 comments 0 reactions 0 assignees View on GitHub
technical debt
Dominant language
JavaScript
Stars
1
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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: https://github.com/hypothesis/frontend-build/pull/330#discussion_r1226341571

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.