fix: use distroless and fix build
This commit is contained in:
parent
71f130ede5
commit
73f0a0d273
7 changed files with 32 additions and 28 deletions
|
|
@ -36,7 +36,10 @@ export default defineConfig(({ isSsrBuild }) => ({
|
|||
},
|
||||
ssr: {
|
||||
target: 'node',
|
||||
noExternal: isSsrBuild ? true : undefined,
|
||||
noExternal: isSsrBuild ? ['@libsql/client'] : undefined,
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['@libsql/client'],
|
||||
},
|
||||
define: {
|
||||
__VERSION__: JSON.stringify(version),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue