babel-plugin-styled-components icon indicating copy to clipboard operation
babel-plugin-styled-components copied to clipboard

Everything inside createGlobalStyle is not minified.

Open HenrikDK2 opened this issue 5 years ago • 2 comments

This have bugged me for awhile, but i can see that createGlobalStyle is not minimized in the final outcome.
Compressed with Terser, and babel plugin "babel-plugin-styled-components".

image

HenrikDK2 avatar Oct 02 '20 22:10 HenrikDK2

@kitten Same problem here, is there any reason why createGlobalStyle is immune to minification?

silkfire avatar Jul 01 '21 00:07 silkfire