From 913ef435d8a040f685c31ef3086fc0128729eaa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20PENHO=C3=8BT?= Date: Thu, 3 Feb 2022 17:47:59 +0100 Subject: [PATCH] Ajout d'une option pour que la compilation se fasse en mode production. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 41f0018..21e687f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "clear && karma start", - "build": "webpack", + "build": "webpack --mode production", "start": "webpack serve" }, "repository": {