es6-modules Flashcards
1
Q
How are ES Modules different from CommonJS modules?
A
CommonJS: compact syntax, designed for synchronous loading and main use is servers.
ES6: Slightly more complicated syntax, designed for asynchronous loading and main use is browsers.
2
Q
What kind of modules can Webpack support?
A
ECMAScript; CommonJS; AMD; Assets; WebAssembly.