Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Minify CSS issue #18

Open
arentsen opened this issue Aug 13, 2020 · 1 comment
Open

Minify CSS issue #18

arentsen opened this issue Aug 13, 2020 · 1 comment

Comments

@arentsen
Copy link

In the video I see that you have a minified CSS file and it seems it is created every time you build it with postcss. In the beginning of the video series the css files have many comments and white spaces (like mine). I am unable to find how to get this minified CSS file ANYWHERE on the internet and I did not hear you talk about it either. How do I do this, since my CSS files are almost 2MB! I am designing in Craft CMS which is in dev mode (set in .env file) but I don't think that influences it.

@jibize
Copy link

jibize commented Aug 23, 2020

You can use Cssnano https://cssnano.co/guides/getting-started/

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

No branches or pull requests

2 participants