These are chat archives for zloirock/core-js

Mar 2015
Denis Pushkarev
Mar 04 2015 15:38

After numerous requests, I played with core-js & commonjs modules. Results:

Max. client size:

  • uglify with mangle option: + ~30%
  • gziped: + 10-15%

possible reduce it, but not serious

but possible require only needed modules, something like

import 'core-js/as-library';
import {Promise} from 'core-js/es6/Promise';
import {from, of} from 'core-js/es6/Array';
import {entries} from 'core-js/es7/Object';

I can add it in next version. Ideas, proposals?