Refactor 11ty start script in package.json
This commit is contained in:
parent
33ce37328c
commit
4be2abf3e2
@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-11ty": "bunx @11ty/eleventy",
|
"build-11ty": "bunx @11ty/eleventy",
|
||||||
"start-11ty": "bunx @11ty/eleventy --serve --quiet",
|
"start-11ty": "bun run build-11ty --serve --quiet",
|
||||||
"create-search-index": "bunx -y pagefind --site _site",
|
"create-search-index": "bunx -y pagefind --site _site",
|
||||||
"build": "bun build-11ty --quiet && bun create-search-index",
|
"build": "bun build-11ty --quiet && bun create-search-index",
|
||||||
"start": "bun run build --serve"
|
"start": "bun run build --serve"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user