There was an error while loading. Please reload this page.
1 parent 7cc0fd4 commit 39ffa30Copy full SHA for 39ffa30
2 files changed
frontend/astro.config.mjs
@@ -44,5 +44,24 @@ export default defineConfig({
44
compress: true,
45
}
46
},
47
+ // Ensure native/node-only deps are not bundled for static build
48
+ ssr: {
49
+ external: [
50
+ 'better-sqlite3'
51
+ ],
52
+ noExternal: []
53
+ },
54
+ optimizeDeps: {
55
+ exclude: [
56
57
+ ]
58
59
+ build: {
60
+ rollupOptions: {
61
62
63
64
+ }
65
66
67
});
frontend/src/pages/svg_icons/_SvgIcons.astro
@@ -119,7 +119,7 @@ const {
119
</div>
120
121
122
- <!-- Pagination -->
+ <!-- Pagination. -->
123
<Pagination
124
currentPage={currentPage}
125
totalPages={totalPages}
0 commit comments