Skip to content

Commit

Permalink
fixes issue with ts compiler adding arrow function in web.browser.leg…
Browse files Browse the repository at this point in the history
…acy js file
  • Loading branch information
araad authored and ardatan committed Feb 1, 2019
1 parent 09fa438 commit 4c3cc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atmosphere-packages/angular-typescript-compiler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class AngularTsCompiler {
if (inputFile) {
inputFile.addJavaScript({
path: 'system.js',
data: `System = { import(path) { return module.dynamicImport(path) } }`
data: `System = { import: function(path) { return module.dynamicImport(path) } }`
});
}
}
Expand Down

0 comments on commit 4c3cc44

Please sign in to comment.