es6-modules Flashcards

1
Q

How are ES Modules different from CommonJS modules?

A

ES Modules have compact syntax, circular dependencies, structure can be analyzed, direct support for asynchronous loading and configurable module loading.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What kind of modules can Webpack support?

A

Any kind of module. ECMAScript 6, AMD, Common JS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly