Simplify model imports

This commit is contained in:
Jorge Vargas 2024-09-24 22:46:16 -06:00
parent c65ccd99dd
commit b9c10b8b73
2 changed files with 22 additions and 9 deletions

View file

@ -1,5 +1,5 @@
// @ts-check
import { defineConfig } from 'astro/config'
import { defineConfig, envField } from 'astro/config'
import tailwind from '@astrojs/tailwind'
import node from '@astrojs/node'
import paraglide from '@inlang/paraglide-astro'
@ -26,5 +26,12 @@ export default defineConfig({
icon({ iconDir: 'src/img/icons' })
],
output: 'server',
adapter: node({ mode: 'standalone' })
adapter: node({ mode: 'standalone' }),
experimental: {
env: {
schema: {
SEQUELIZE: envField.string({ context: 'server', access: 'public' })
}
}
}
})