How to setup Webpack config - tutorial for beginners

preview_player
Показать описание
In this video, I'll show you how to setup Webpack config file and create project bundle step by step.

***************************************
Additional Resources
***************************************

Webpack is a module bundler for web applications that bundles, minify, and transpile JavaScript code to the code understandable by all the browsers. As a Javascript developer, you probably have heard about modules before. Webpack has a broad definition of what modules are, and it takes into consideration: ES modules, CommonJS modules, CSS imports, image URLs, or AMD modules.

It’s important to understand that Webpack is not used on the actual page in the production environment. It’s running during the development process. What we can see life is a code generated as a bundle by the Webpack.

MEET US:
Рекомендации по теме
Комментарии
Автор

It would be more comfortable for us if you open build folder and show us the result. Plus a little bit more explanation of code would be good too

nikachkhobadze
Автор

Great material I just got distracted w music in background, look forward for more tutorials

Porrruh
Автор

FANTASTIC!!!! Did you do the tutorials for Webix?

stevebolman
Автор

Amazing. I really liked the tutorial. It would be also helpful if you could explain some of your steps as it is very fast-paced.

Joselson
Автор

Thanks! I love u ahahah I finaly understand this.

leoreadss
Автор

Thanks a lot for this video. I need help! I am hosting my javascript files in the web server and these files are loaded using the script tag which gets created from the webpack runtime. While creating the script tag the script type is set as 'module' because of which I am getting the error "Expected a Javascript module script but the server responded with MIME type of text/plain." Is there a way to set the script type using webpack configuration?

mohanrr
Автор

Great! Could you upload a video on how to upload a webpack project to github pages?

Irvin_Gonzalez
Автор

Images are more likely to be in .html file. Code for images doesn't work with images integrated in html

nikachkhobadze
welcome to shbcf.ru