verekia/js-stack-from-scratch

Chapter 4 - Webpack resolve.extensions

fbertone opened this issue · 1 comments

Type of issue: rephrasing suggestion

Chapter: 4 Webpack, React, and Hot Module Replacement - Webpack section

In webpack.config.babel.js explanation (line 81), you say: We also want these two extensions to resolve.
I think that's unclear / misleading.

I would rephrase it following the documentation to something like:
We also want these two extensions to be used to resolve modules.

Maybe also add a few more words on module resolution?

Fixed, thank you!