Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit a9364a6

Browse files
committed
Support running build:preview locally
1 parent 9bacfdd commit a9364a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
33
"build-and-serve": "npm run build && npm run serve",
4-
"build:preview": "hugo --cleanDestinationDir -DFE --minify --baseURL $DEPLOY_PRIME_URL",
4+
"build:preview": "hugo --cleanDestinationDir -DFE --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
55
"build:production": "hugo --cleanDestinationDir --minify",
66
"build": "hugo --cleanDestinationDir -e dev -DFE",
77
"hugo:version": "hugo version",

0 commit comments

Comments
 (0)