squash and nuke dev
This commit is contained in:
parent
b2d43ad425
commit
f26e76c114
93 changed files with 33827 additions and 7831 deletions
14
pagefind.ts
14
pagefind.ts
|
|
@ -12,15 +12,11 @@ export default function pagefind(): AstroIntegration {
|
|||
const cwd = dirname(fileURLToPath(import.meta.url));
|
||||
const relativeDir = relative(cwd, targetDir);
|
||||
return new Promise<void>(resolve => {
|
||||
spawn(
|
||||
"yarn",
|
||||
["pagefind", "--site", relativeDir],
|
||||
{
|
||||
stdio: "inherit",
|
||||
shell: true,
|
||||
cwd,
|
||||
}
|
||||
).on("close", () => resolve());
|
||||
spawn("yarn", ["pagefind", "--site", relativeDir], {
|
||||
stdio: "inherit",
|
||||
shell: true,
|
||||
cwd,
|
||||
}).on("close", () => resolve());
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue