From 1afb8dad336e09961515897d435b6f6cb5357b43 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Sat, 9 Mar 2024 13:40:57 +0600 Subject: [PATCH] update package scripts --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a60e34d..0cf2bb2 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "dev": "hugo server", "build": "hugo --gc --minify --templateMetrics --templateMetricsHints --forceSyncStatic", "preview": "hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --watch --forceSyncStatic -e production --minify", - "dev:example": "cd exampleSite; hugo server", - "build:example": "cd exampleSite; hugo --gc --minify --templateMetrics --templateMetricsHints --forceSyncStatic", - "preview:example": "cd exampleSite; hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --watch --forceSyncStatic -e production --minify", + "dev:example": "cd exampleSite; hugo server --themesDir ../..", + "build:example": "cd exampleSite; hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --forceSyncStatic", + "preview:example": "cd exampleSite; hugo server --themesDir ../.. --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --watch --forceSyncStatic -e production --minify", "update-modules": "node ./scripts/clearModules.js && hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy", "project-setup": "node ./scripts/projectSetup.js", "theme-setup": "node ./scripts/themeSetup.js",