Sign in
Log inSign up
Webpack in 1 minute

Webpack in 1 minute

If you're a web developer, then it's likely that you've heard the term - Webpack. But what is Webpack and how does it fit into modern web development?

Rishabh Singh's photo
Rishabh Singh
·Aug 16, 2021·

2 min read

If you're a web developer, then it's likely that you've heard the term - Webpack. What is Webpack and how does it fit into modern web development?

That's what you'll learn in a few minutes! Keep reading!

https://miro.medium.com/max/1400/1*5PpB0JEPdB30wER8_XWuIQ.jpeg

In general, Webpack is a module bundler for Javascript applications.

Still unclear? I'll break it down for you!

Web applications usually have many files, such as images, assets, dependencies, HTML files, style sheets, etc.

Whenever we want the web app to be loaded on a browser, the browser first must download all these files. As a result, the browser may have difficulty maintaining the order of script tags to avoid breaking dependent code, etc.

Thanks to the ES6 release, now we have Webpack which simply takes all of these related files and bundles them into one, reducing the number of files and making the downloading task simple & less error prone.

That's all!

Connect with me

If you have any questions or doubts feel free to contact me on Twitter, LinkedIn & GitHub. Or you can also post a comment/discussion here & I will try my best to help you :D

Support

Thank you so much for reading! I hope you learnt something new today. Please leave a like, a lovely comment or feedback & also consider following me as I regularly post useful & informative articles to help you become a better programmer.

If you like my work please consider Buying me a Coffee so that I can bring more projects, more articles for you.

https://dev-to-uploads.s3.amazonaws.com/i/5irx7eny4412etlwnc64.png
Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct