Skip to content

Commit 9e9a753

Browse files
committed
refactor: remove debug log from getEntry function
1 parent 5b8c6ae commit 9e9a753

File tree

4 files changed

+253
-3
lines changed

4 files changed

+253
-3
lines changed

astro.config.mjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ import {config} from './config.js'
44
import yaml from '@rollup/plugin-yaml';
55

66
export default defineConfig({
7-
adapter: node({
7+
adapter: node({
88
mode: 'middleware',
99
}),
1010
output: "server",
1111
outDir: config.outDir,
1212
trailingSlash: 'ignore',
1313
vite: {
14-
plugins: [yaml()]
14+
plugins: [yaml()],
15+
ssr: {
16+
external: ['better-sqlite3']
17+
},
18+
optimizeDeps: {
19+
exclude: ['better-sqlite3']
20+
}
1521
}
1622
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@octokit/rest": "^21.0.2",
2121
"@svgdotjs/svg.js": "^3.2.4",
2222
"adm-zip": "^0.5.16",
23+
"better-sqlite3": "^12.4.1",
2324
"astro": "^5.16.0",
2425
"content-structure": "../content-structure",
2526
"cookie-parser": "^1.4.7",

0 commit comments

Comments
 (0)