From b0252781b7f3b8c72ff7d3d50f539bf86a07e897 Mon Sep 17 00:00:00 2001 From: PCloud Date: Mon, 6 May 2024 10:31:32 +0100 Subject: [PATCH] chore: minify production build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0ad13c0d8..fd3a30e6f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "private": true, "scripts": { "dev": "concurrently \"npm run server\" \"npm run server:tailwind --watch\"", - "build": "hugo --logLevel info --source=exampleSite --themesDir ../.. --gc", + "build": "hugo --logLevel info --minify --source=exampleSite --themesDir ../.. --gc", "build:preview": "hugo --logLevel info --source=exampleSite --themesDir ../.. -D --gc", "server": "hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender --noHTTPCache", "server:production": "hugo server --source=exampleSite --themesDir ../.. --disableFastRender -e production", @@ -52,4 +52,4 @@ "tailwindcss": "^3.4.3", "tailwindcss-aria-attributes": "^2.0.1" } -} \ No newline at end of file +}