From b8e49673ca64a6abbb372d9873a2c5fcb9629b20 Mon Sep 17 00:00:00 2001 From: molnard1 <101341428+molnard1@users.noreply.github.com> Date: Wed, 8 Nov 2023 09:13:07 +0100 Subject: [PATCH] Do not minify on watch --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e830fcb..99afb18 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "main": "index.js", "scripts": { "build:esbuild": "esbuild src/js/index.js --bundle --minify --loader:.js=jsx --format=cjs --outfile=public/dist/bundle.js", - "watch:esbuild": "esbuild src/js/index.js --bundle --minify --loader:.js=jsx --format=cjs --outfile=public/dist/bundle.js --watch", + "watch:esbuild": "esbuild src/js/index.js --bundle --loader:.js=jsx --format=cjs --outfile=public/dist/bundle.js --watch", "build:css": "npx tailwindcss -i src/css/style.css -o public/dist/bundle.css --minify", - "watch:css": "npx tailwindcss -i src/css/style.css -o public/dist/bundle.css --minify --watch", + "watch:css": "npx tailwindcss -i src/css/style.css -o public/dist/bundle.css --watch", "serve": "serve public/", "open": "opener http://localhost:3000", "build": "concurrently --kill-others-on-fail npm:build:esbuild npm:build:css",