feat(zone): add zone-patch-electron to patch Electron native APIs in polyfills

This commit is contained in:
JiaLi.Passion
2018-06-13 18:08:06 +09:00
parent 1d48e32c73
commit 01842e2794

View File

@@ -72,7 +72,12 @@ import 'core-js/es7/reflect';
*/
import 'zone.js/dist/zone-mix'; // Included with Angular CLI.
/**
* You can load zone-patch-electron to allow electron native APIs
* (Such as dialog/shortcut/menu/getFileIcon/shell/session/
* desktopCapturer/onEvent) in ngZone
*/
// import 'zone.js/dist/zone-patch-electron'; // add zone-patch-electron to patch Electron native API
/***************************************************************************************************
* APPLICATION IMPORTS