December 2019
Intermediate to advanced
474 pages
10h 3m
English
To run the React application, we need to install webpack 4 (while writing this book, the current stable version of webpack is version 4) and webpack CLI as devDependencies. Let's get started:
npm install --save-dev webpack webpack-cli
{ "name": "movieList", "version": "1.0.0", "description": "", "main": "index.js", "scripts": {_ "start": "webpack --mode development",+ "build": "webpack --mode production", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": ...Read now
Unlock full access