feat: require owner login and add onboarding
This commit is contained in:
+11
-8
@@ -1,10 +1,13 @@
|
||||
import { build } from 'vite'
|
||||
|
||||
await build({
|
||||
configFile: false,
|
||||
build: {
|
||||
ssr: 'scripts/backup-database.ts',
|
||||
outDir: '.output/server/tools',
|
||||
rollupOptions: { external: ['better-sqlite3'] },
|
||||
},
|
||||
})
|
||||
for (const entry of ['backup-database', 'account-setup']) {
|
||||
await build({
|
||||
configFile: false,
|
||||
build: {
|
||||
ssr: `scripts/${entry}.ts`,
|
||||
outDir: '.output/server/tools',
|
||||
emptyOutDir: false,
|
||||
rollupOptions: { external: ['better-sqlite3'] },
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user