---
title: "Discussion on \"Webpack Under the Hood: How React Apps Get Bundled\" | Hashnode"
description: "Discussion on \"Webpack Under the Hood: How React Apps Get Bundled\". Ever wondered what happens when you run npm start or npm run build? How does your JSX code, imports, and CSS get transformed into files that browsers understand?\nThe answer is Webpack - the tool that bundles your React app into optimized files ready ..."
url: "https://hashnode.com/posts/webpack-under-the-hood-how-react-apps-get-bundled/69766671000ded2fce52149c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Webpack Under the Hood: How React Apps Get Bundled](https://pranita.hashnode.dev/webpack-under-the-hood-how-react-apps-get-bundled?utm_source=hashnode&utm_medium=feed)

Ever wondered what happens when you run npm start or npm run build? How does your JSX code, imports, and CSS get transformed into files that browsers understand? The answer is Webpack - the tool that bundles your React app into optimized files ready ...

Jan 25 · 7 min read · pranita.hashnode.dev  
Updated Feb 4  
Read the article

-   [#webpack](https://hashnode.com/tag/webpack)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#optimization](https://hashnode.com/tag/optimization)
-   [#bundling](https://hashnode.com/tag/bundling)
-   [#plugins](https://hashnode.com/tag/plugins)
-   [#babel-plugin](https://hashnode.com/tag/babel-plugin)

## Written by

[Pranita Fulsundar](https://hashnode.com/@pranita)

@pranita · Pune, India

  
[View profile](https://hashnode.com/@pranita)

Developer, building useful things for web.

Hi, I’m a software engineer with a strong focus on frontend development and open-source contributions. I enjoy solving real-world problems, improving developer workflows, and building systems that scale. I believe in taking ownership of my work and paying close attention to quality and detail. I'm here to document my learnings, ideas, and practical insights from building and shipping real products. If anything here resonates with you, feel free to reach out. I’m always happy to connect and learn from others.

## Responses 1

Markdown supported · ⌘↵ to post

[Tushar Kumar 🇮🇳](https://hashnode.com/@tusharkumardev)

[5d ago](https://hashnode.com/posts/webpack-under-the-hood-how-react-apps-get-bundled/69766671000ded2fce52149c/comment/6af5cb8d855ff86d4fbd5602)

Nicely Explained.
