docs: add note for including polyfills for StackBlitz examples (#25892)

PR Close #25892
This commit is contained in:
Brandon Roberts 2018-10-09 16:19:52 -04:00 committed by Jason Aden
parent 1312693f88
commit d1b7bb52e7
1 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,12 @@
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */
/**
* DO NOT REMOVE
* By default, Reflect polyfills are auto-included by the CLI and
* are required for JIT compilation. StackBlitz examples are
* compiled using JIT.
*/
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';