Webpack configuration
Webpack is the tool of choice for building modern web applications. It's powerful enough to compile everything from JSX syntax to static images into bundles that are ready to deploy. It also comes with a development server. Its main drawback is its complexity. There are a lot of moving parts that need to be configured just to get Webpack off the ground, but you didn't have to touch any of it. This is because most of the Webpack configuration values that you would set for a React app are the same for most React apps.
There are two separate pieces of the development server to configure. First, there's the Webpack development server itself. Then, there's the main Webpack configuration, which you'll need even if you weren't ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access