I added this variable in my package:
json file : "prod": "npm run clean && NODE_ENV=production webpack -p"
finally i had this error:
'NODE_ENV' n’est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.