Comment by lewisl9029
11 years ago
> Are dynamic inclusions simply not allowed?
Correct. One of the motivating factors for ES6 modules was to create a format that can be statically analyzed and optimized.
> Is eval just not allowed to import anything?
Correct.
See this excellent writeup for more details regarding ES6 modules: http://www.2ality.com/2014/09/es6-modules-final.html
No comments yet
Contribute on Hacker News ↗