Skip to content

Commit 6af0dfb

Browse files
crisbetojelbourn
authored andcommitted
build: fix dev app not working in IE11 (#16932)
Fixes the dev app throwing a syntax error in IE11 because we were loading a file that has an arrow function.
1 parent e7229a8 commit 6af0dfb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dev-app/system-rxjs-operators.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
// all rxjs files individually.
1515

1616
if (typeof define === 'function' && define.amd) {
17-
define(['exports', 'rxjs'], (exports, rxjs) => {
17+
// Note that this needs to be in ES5, because we load it
18+
// directly into the browser without transpiling.
19+
define(['exports', 'rxjs'], function(exports, rxjs) {
1820
// Re-export all operators in this AMD module.
1921
Object.assign(exports, rxjs.operators);
2022
});

0 commit comments

Comments
 (0)