stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.04k stars 389 forks source link

Propagate minifyCss options to the minimalcss #538

Open artemdumanov opened 2 years ago

artemdumanov commented 2 years ago

I think it's how things should work. I didn't find any docs references to minifyCss or how to use it. I perhaps it is a way.

History: I have had an invalid css and minimalcss failed, however, it was easily by adding the "ignoreCSSErrors": true to the config but react-snap has no way to do that. So I have made a PR that allows to specify the minimalcss config options with the reacts-snap minifyCss config option