Skip to content

Commit

Permalink
fix(zone): fixes an issue where zone would break polyfill bundles for…
Browse files Browse the repository at this point in the history
… web workers/service workers
  • Loading branch information
wessberg committed Mar 17, 2019
1 parent 4533434 commit 22b45c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constant/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {environment} from "../environment/environment";
// @ts-ignore
import tempDir from "temp-dir";
import {join} from "path";
import {ALL_CONTEXTS, WINDOW_CONTEXT} from "../polyfill/polyfill-context";
import {ALL_CONTEXTS, WINDOW_CONTEXT, WINDOW_NODE_CONTEXT} from "../polyfill/polyfill-context";

// tslint:disable:no-duplicate-string

Expand Down Expand Up @@ -54,7 +54,7 @@ export const constant: IConstant = {
version: environment.NPM_PACKAGE_DEPENDENCIES_ZONE_JS,
dependencies: [],
mustComeAfter: "*",
contexts: ALL_CONTEXTS
contexts: WINDOW_NODE_CONTEXT
},
"performance.now": {
library: {
Expand Down

0 comments on commit 22b45c5

Please sign in to comment.