Skip to content

Commit 1b328d1

Browse files
committed
we can no longer evaluate the typeof to System as this would break the polyfill
1 parent 343cdc7 commit 1b328d1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎lib/dependencies/SystemPlugin.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ class SystemPlugin {
2626
);
2727
}
2828

29-
parser.plugin("typeof System", ParserHelpers.toConstantDependency(JSON.stringify("object")));
30-
parser.plugin("evaluate typeof System", ParserHelpers.evaluateToString("object"));
31-
3229
parser.plugin("typeof System.import", ParserHelpers.toConstantDependency(JSON.stringify("function")));
3330
parser.plugin("evaluate typeof System.import", ParserHelpers.evaluateToString("function"));
3431

0 commit comments

Comments
 (0)