Created
May 7, 2017 10:41
-
-
Save neilcummings/42af6b1ab947747ff49bfaafe219eb95 to your computer and use it in GitHub Desktop.
SharePointAddinAngular - polyfills.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'core-js/es6'; | |
import 'core-js/es7/reflect'; | |
require('zone.js/dist/zone'); | |
if (process.env.ENV === 'production') { | |
// Production | |
} else { | |
// Development and test | |
Error['stackTraceLimit'] = Infinity; | |
require('zone.js/dist/long-stack-trace-zone'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment