Creuna-Oslo/create-react-app

CSS isn't minified when building for production

Closed this issue · 1 comments

It seems like support for minification using css-loader was dropped in 1.0.0 (changelog).
The scaffolded project uses ^1.0.0 and still uses the minimize option. I suspect we might have a few sites in production with un-minified css 😄 (I can confirm at least one).

The solution is also described in the changelog

I'll start work on this.