Styled-components: Replace Uglify with Google Closure Compiler

Created on 16 Dec 2017  路  3Comments  路  Source: styled-components/styled-components

Based on this blogpost by the React team (@gaearon), we should look into replacing Uglify with Google Closure compiler.

We're already using ES modules and Rollup, so we're basically pretty far of the way there. The last step to get this into the realm of possibilities is shipping flat bundles, ref #1359.

enhancement help wanted

All 3 comments

Perhaps this PR will be helpful as a reference? https://github.com/facebook/react/pull/10236/files

I'll have a look at this one

This ends up being more trouble than it's worth. We'll get some nice bundle savings with the various improvements planned for 4.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

georgesboris picture georgesboris  路  3Comments

probablyup picture probablyup  路  3Comments

robbue picture robbue  路  3Comments

Cap32 picture Cap32  路  3Comments

ivan-navarro-75 picture ivan-navarro-75  路  3Comments