diff --git a/demo-shell-ng2/app/polyfills.ts b/demo-shell-ng2/app/polyfills.ts index 600a34bd90..4a48f9b812 100644 --- a/demo-shell-ng2/app/polyfills.ts +++ b/demo-shell-ng2/app/polyfills.ts @@ -1,10 +1,10 @@ /* tslint:disable */ -import 'core-js/es6'; +import 'core-js/es6/reflect'; import 'core-js/es7/reflect'; +import 'zone.js/dist/zone'; import 'intl'; -require('zone.js/dist/zone'); // IE 8-11 require('element.scrollintoviewifneeded-polyfill'); // IE/FF if (process.env.ENV === 'production') { diff --git a/demo-shell-ng2/config/webpack.common.js b/demo-shell-ng2/config/webpack.common.js index af9c79a902..4fa6eb3dda 100644 --- a/demo-shell-ng2/config/webpack.common.js +++ b/demo-shell-ng2/config/webpack.common.js @@ -105,6 +105,22 @@ module.exports = { from: 'node_modules/pdfjs-dist/build/pdf.worker.js', to: 'pdf.worker.js' }, + { + from: 'node_modules/web-animations-js/web-animations.min.js', + to: 'js/web-animations.min.js' + }, + { + from: 'node_modules/core-js/client/core.min.js', + to: 'js/core.min.js' + }, + { + from: 'node_modules/custom-event-polyfill/custom-event-polyfill.js', + to: 'js/custom-event-polyfill.js' + }, + { + from: 'node_modules/intl/dist/Intl.min.js', + to: 'js/Intl.min.js' + }, { context: 'public', from: '', diff --git a/demo-shell-ng2/index.html b/demo-shell-ng2/index.html index 222f75ec7e..227644620f 100644 --- a/demo-shell-ng2/index.html +++ b/demo-shell-ng2/index.html @@ -8,19 +8,15 @@ - + +