1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-02-13 07:01:52 +00:00
ansible-playable/client/polyfills.js

29 lines
566 B
JavaScript
Raw Normal View History

2017-06-07 17:36:44 +00:00
// Polyfills
// (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here)
// import 'ie-shim'; // Internet Explorer
// import 'es6-shim';
// import 'es6-promise';
// import 'es7-reflect-metadata';
// Prefer CoreJS over the polyfills above
import 'core-js/es6';
import 'core-js/es7/reflect';
// require('zone.js/dist/zone');
if(!ENV) {
var ENV = 'development';
}
if(ENV === 'production') {
// Production
} else {
// Development
Error.stackTraceLimit = Infinity;
// require('zone.js/dist/long-stack-trace-zone');
}