From 93d2ef142d22bdca561effbfaad59cfa8ddaf988 Mon Sep 17 00:00:00 2001 From: HoshinoRei <81515470+HoshinoRei@users.noreply.github.com> Date: Sat, 8 Jun 2024 00:16:23 +0800 Subject: [PATCH] build(npm): update `build:eleventy` script with correct `pathprefix` location --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7e36c04..ae634d6 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "start": "npm-run-all get-theme build:sass --parallel watch:*", "watch:sass": "sass --watch src/site/styles:dist/styles", "watch:eleventy": "cross-env ELEVENTY_ENV=dev eleventy --serve", - "build:eleventy": "cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=4096 eleventy --pathprefix /digital-garden/", + "build:eleventy": "cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=4096 eleventy --pathprefix=digital-garden", "build:sass": "sass src/site/styles:dist/styles --style compressed", "get-theme": "node src/site/get-theme.js", "build": "npm-run-all get-theme build:*"