You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, that's interesting. I do think we should figure out how to get --minify to be the default for production. Or maybe make it always the default and use an ENV var to skip minification? SKIP_MINIFY_CSS or something?
I was scrolling through the Lighthouse audit of my app when I noticed this:
Though it's not a ton, it's easily fixed by just adding
--minify
here: https://github.com/bullet-train-co/bullet_train/blob/main/package.json#L39-L40I wonder if it's worth upstreaming this to the starter repo? "pretty printing" the CSS in the browser's devtools still makes it easily inspectable.
Or we could add an environment variable, e.g.
MINIFY_CSS
to switch it on/off?The text was updated successfully, but these errors were encountered: