From 5c9de6378b88c3f944ba478a025b99e5c06cec0a Mon Sep 17 00:00:00 2001 From: Tony Busker Date: Tue, 18 Dec 2018 10:36:36 +0100 Subject: [PATCH] Update practice.ipynb --- Lectures/Lecture6/practice.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lectures/Lecture6/practice.ipynb b/Lectures/Lecture6/practice.ipynb index 0939ca2..7343c43 100644 --- a/Lectures/Lecture6/practice.ipynb +++ b/Lectures/Lecture6/practice.ipynb @@ -33,7 +33,7 @@ "\n", "npm install --save react react-dom @types/react @types/react-dom\n", "\n", - "npm install -g webpack\n", + "npm install -g webpack webpack-cli\n", "```\n", "\n", "- Create a Typescript config-file in your project folder of your project called `tsconfig.json` and add the following lines to it. \n", @@ -138,7 +138,7 @@ "\n", "```\n", "\n", - "- Run the command `webpack -w` in the command line. This command will keep tracking of changes in your `src` folder and build them automatically when your save the changes. Reload the `index.html` in the browser to see the changes. \n", + "- Run the command `webpack -w --mode=development` in the command line. This command will keep tracking of changes in your `src` folder and build them automatically when your save the changes. Reload the `index.html` in the browser to see the changes. \n", "\n", "\n", "# Step 2: Components, props, state and events\n",