How to configure webpack resolver - Part 1

Опубликовано: 14 Ноябрь 2024
на канале: lihautan
1,155
26

In this video, we go practical, we are going to see how we can configure resolver for webpack.
Most importantly, instead of giving you a fish, I want to teach you how to fish. I want to share my techniques on learning and figuring out how each option works.

00:00 Introduction
04:34 Setting up the project
05:22 alias
13:55 aliasFields
24:31 conditionNames
27:50 descriptionFiles
30:48 enforceExtension
33:48 extensions
35:15 fallback
39:51 mainFields
40:25 exportFields
40:40 modules
42:00 Closing notes

Related Links:
Resolving    • Resolving  
Explain Module Bundlers in 3 Levels of Difficulty    • Explains Module Bundlers in 3 Levels ...  
Discord Server   / discord  

#webdev #tutorial #javascript

🥰 Support me https://www.buymeacoffee.com/lihautan

🔗 Want to learn more from me? Check out these links:

Twitter:   / lihautan  
Blog: https://lihautan.com/
Newsletter: https://lihautan.com/newsletter

VS Code Theme: Dracula at night https://marketplace.visualstudio.com/...
ZSH Theme: bullet-train https://github.com/caiogondim/bullet-...