File tree 3 files changed +2
-3
lines changed 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 44
44
45
45
build :
46
46
pnpm run astro build --mode $(MODE )
47
+ pnpm pagefind
47
48
48
49
preview : RELEASES_DIR = $(VPS_PREVIEW_PATH ) /$(SAFE_BRANCH ) /releases
49
50
preview : TARGET = $(RELEASES_DIR ) /$(TIMESTAMP )
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import remarkToc from "remark-toc";
6
6
import rehypeSlug from "rehype-slug" ;
7
7
import rehypeAutolinkHeadings from "rehype-autolink-headings" ;
8
8
import metaTags from "astro-meta-tags" ;
9
- import pagefind from "astro-pagefind" ;
10
9
import deleteUnusedImages from "astro-delete-unused-images" ;
11
10
import { execSync } from "node:child_process" ;
12
11
import svelte from "@astrojs/svelte" ;
@@ -116,7 +115,6 @@ export default defineConfig({
116
115
mdx ( ) ,
117
116
sitemap ( ) ,
118
117
metaTags ( ) ,
119
- pagefind ( ) ,
120
118
deleteUnusedImages ( ) ,
121
119
svelte ( ) ,
122
120
compress ( {
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"dev" : " astro dev" ,
7
7
"start" : " astro dev" ,
8
- "build" : " astro check && astro build && pnpm pagefind --site dist " ,
8
+ "build" : " astro check && astro build && pnpm pagefind" ,
9
9
"preview" : " astro preview" ,
10
10
"astro" : " astro" ,
11
11
"format" : " prettier --write --plugin=prettier-plugin-astro ."
You can’t perform that action at this time.
0 commit comments