From ebd68b8f0e97f20b1d5f21d5d61266f264bf69c0 Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Mon, 2 Aug 2021 17:14:49 -0400 Subject: [PATCH] enable tailwind purge for production --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 225b05f..92f0edc 100755 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "watch": "webpack --config configuration/webpack.dev.config.js --mode=development --watch", "bundle": "npm install && npm run watch", "dev": "webpack serve --config configuration/webpack.dev.config.js --mode=development", - "production": "webpack --config configuration/webpack.prod.config.js --mode=production", + "production": "NODE_ENV=production webpack --config configuration/webpack.prod.config.js --mode=production", "lint:sass": "sass-lint -v -q", "lint:js": "eslint --ext .js src/js/", "stats": "webpack --config configuration/webpack.prod.config.js --mode=production --json > dist/stats.json && webpack-bundle-analyzer dist/stats.json"