verekia / js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
MIT License
20.07k stars 1.99k forks source link

Chapter 4 - Webpack resolve.extensions #167

Closed fbertone closed 7 years ago

fbertone commented 7 years ago

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?

verekia commented 7 years ago

Fixed, thank you!