You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,38 @@ Starting from zone.js v0.8.9, you can choose which web API module you want to pa
54
54
For more details, please
55
55
see [MODULE.md](MODULE.md).
56
56
57
+
## Bundles
58
+
There are several bundles under `dist` folder.
59
+
60
+
|Bundle|Summary|
61
+
|---|---|
62
+
|zone.js|the default bundle, contains the most used APIs such as `setTimeout/Promise/EventTarget...`, also this bundle supports all evergreen and legacy (IE/Legacy Firefox/Legacy Safari) Browsers|
63
+
|zone-evergreen.js|the bundle for evergreen browsers, doesn't include the `patch` for `legacy` browsers such as `IE` or old versions of `Firefox/Safari`|
64
+
|zone-legacy.js|the patch bundle for legacy browsers, only includes the `patch` for `legacy` browsers such as `IE` or old versions of `Firefox/Safari`. This bundle must be loaded after `zone-evergreen.js`, **`zone.js`=`zone-evergreen.js` + `zone-legacy.js`**|
65
+
|zone-testing.js|the bundle for zone testing support, including `jasmine/mocha` support and `async/fakeAsync/sync` test utilities|
66
+
|zone-externs.js|the API definitions for `closure compiler`|
67
+
68
+
And here are the additional optional patches not included in the main zone.js bundles
69
+
70
+
|Patch|Summary|
71
+
|---|---|
72
+
|webapis-media-query.js|patch for `MediaQuery APIs`|
73
+
|webapis-notification.js|patch for `Notification APIs`|
74
+
|webapis-rtc-peer-connection.js|patch for `RTCPeerConnection APIs`|
75
+
|webapis-shadydom.js|patch for `Shady DOM APIs`|
76
+
|zone-bluebird.js|patch for `Bluebird APIs`|
77
+
|zone-error.js|patch for `Error Global Object`, supports remove `Zone StackTrace`|
78
+
|zone-patch-canvas.js|patch for `Canvas API`|
79
+
|zone-patch-cordova.js|patch for `Cordova API`|
80
+
|zone-patch-electron.js|patch for `Electron API`|
81
+
|zone-patch-fetch.js|patch for `Fetch API`|
82
+
|zone-patch-jsonp.js|utility for `jsonp API`|
83
+
|zone-patch-resize-observer.js|patch for `ResizeObserver API`|
84
+
|zone-patch-rxjs.js|patch for `rxjs API`|
85
+
|zone-patch-rxjs-fake-async.js|patch for `rxjs fakeasync test`|
86
+
|zone-patch-socket-io.js|patch for `socket-io`|
87
+
|zone-patch-user-media.js|patch for `UserMedia API`|
0 commit comments