Skip to content

Commit 4c3cc44

Browse files
araadardatan
authored andcommitted
fixes issue with ts compiler adding arrow function in web.browser.legacy js file
1 parent 09fa438 commit 4c3cc44

File tree

1 file changed

+1
-1
lines changed
  • atmosphere-packages/angular-typescript-compiler

1 file changed

+1
-1
lines changed

atmosphere-packages/angular-typescript-compiler/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export class AngularTsCompiler {
273273
if (inputFile) {
274274
inputFile.addJavaScript({
275275
path: 'system.js',
276-
data: `System = { import(path) { return module.dynamicImport(path) } }`
276+
data: `System = { import: function(path) { return module.dynamicImport(path) } }`
277277
});
278278
}
279279
}

0 commit comments

Comments
 (0)