es6-modules Flashcards

1
Q

How are ES Modules different from CommonJS modules?

A

the require( ) method and module.exports isn’t required and import and export/export default are used instead.

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

both ES and CommonJS modules

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