Skip to Content
React 16 Tooling
book

React 16 Tooling

by Adam Boduch, Christopher Pitt
April 2018
Intermediate to advanced content levelIntermediate to advanced
298 pages
6h 34m
English
Packt Publishing
Content preview from React 16 Tooling

Build output

The job of Webpack is to bundle your application resources so that they can be easily served from the web. This means that you have to configure various things related to bundle output, starting with the output path and file. The Webpack development server doesn't actually write a bundle file to disk because it is assumed that builds will happen frequently. The resulting bundle is kept in memory. Even with this in mind, you still have to configure the main output path because the Webpack development server still needs to serve it to the browser as though it were a real file.

In addition to the main output location, you can also configure chunk filenames and the public path used to serve files from. Chunks are bundles that are ...

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.
Start your free trial

You might also like

Pro React 16

Pro React 16

Adam Freeman

Publisher Resources

ISBN: 9781788835015Supplemental Content