Skip to content

Commit 08d303f

Browse files
authored
fix: pagefind output path (#2)
Replaced `--output-subdir` by `--output-path` for more control.
1 parent 16771f4 commit 08d303f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "hugo serve --logLevel info --configDir=config --buildDrafts --buildFuture --ignoreCache --disableFastRender --gc --printI18nWarnings --printMemoryUsage --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints",
99
"dev": "npm run dev:start",
1010
"dev:start": "hugo serve --logLevel info --configDir=config --buildDrafts --buildFuture --ignoreCache --disableFastRender --gc --printI18nWarnings --printMemoryUsage --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints",
11-
"dev:start:with-pagefind": "hugo --baseURL=/ --theme=dot-org-hugo-theme && npm_config_yes=true npx pagefind --site 'public' --output-subdir 'static/pagefind' && npm run dev:start",
11+
"dev:start:with-pagefind": "hugo --baseURL=/ --theme=dot-org-hugo-theme && npm_config_yes=true npx pagefind --site 'public' --output-path 'static/pagefind' && npm run dev:start",
1212
"dev:build": "hugo --theme=dot-org-hugo-theme"
1313
},
1414
"repository": {

0 commit comments

Comments
 (0)