Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Did you use Babel ? Commented Aug 14, 2016 at 20:09
  • @Tugrul Ah yes I do, I should of mentioned this. Commented Aug 14, 2016 at 20:10
  • 1
    I have no question now:) Commented Aug 14, 2016 at 20:11
  • 1
    I think that if you need conditional loading of modules (or need to catch errors when loading them), you have to stick to using require(). See also this question and its answers. Commented Aug 14, 2016 at 20:11
  • Try to look into System.import, it's not implemented in babel though Commented Aug 14, 2016 at 20:36