Bundling React 360 files

To create the bundled files, we can run the following command from the React 360 project directory:

npm run bundle

This generates compiled versions of the React 360 application files in a folder called build. The compiled bundle files are client.bundle.js and index.bundle.js. These two files, in addition to index.html and the static-assets/ folder, make up the production version of the whole React 360 application that was developed:

-- static_assets/-- index.html-- index.bundle.js-- client.bundle.js

Get Full-Stack React Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.