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
IMO best way to use global stylesheets is to put them in the static directory and link them in the _document.js as you link normal css files. Then you can install postcss-cli as a dependency and add a script to watch and process your css files. Postcss has a large set of plugins such as cssnano.
I write a file css like:
and I import to component, use example-with-global-stylesheet, or example-with-global-stylesheet-simple, but it not minimize the css that I write.
How to minimize css?
Thanks!
The text was updated successfully, but these errors were encountered: