Closed dmitrysteblyuk closed 7 years ago
I tried to import 'core-js/es6/reflect' and 'core-js/es7/reflect' but closure compiler throws a runtime error when it tries to process those files.
Adding a polyfill directly to index.html doesn't help because property names of Reflect are uglified in a bundle.
Any ideas? Thank you.
Ok, I got it. I had to write reflect externs. Now polyfill works like a charm.
I tried to import 'core-js/es6/reflect' and 'core-js/es7/reflect' but closure compiler throws a runtime error when it tries to process those files.
Adding a polyfill directly to index.html doesn't help because property names of Reflect are uglified in a bundle.
Any ideas? Thank you.