Skip to content

Commit a5f6d14

Browse files
committed
Stop building PDF on Vercel
Build book locally, update manually. The reason is the lack of resources on maintaining Vercel infrastructure every time something breaks.
1 parent 8345024 commit a5f6d14

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ npm-debug.log*
2020

2121
.vscode
2222
.next
23-
.cache
2423
dist
2524

26-
/public/solid-book.pdf
2725
/services/BookBuilder.js

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"dev": "next",
99
"test": "jest --watchAll",
10-
"now-build": "next build && npm run book:generate",
10+
"now-build": "next build",
1111
"start": "next start",
1212
"lint": "eslint \"./**/*.{ts,tsx}\"",
1313
"book:generate": "npx esbuild services/BookBuilder/index.ts --bundle --outfile=services/BookBuilder.js --platform=node --format=esm --external:puppeteer --external:md-to-pdf && node services/BookBuilder.js"

public/solid-book.pdf

1.02 MB
Binary file not shown.

0 commit comments

Comments
 (0)