forked from Aaron/Kino-Website
Added assets, started actual work on making this a proper multi file webapp. gonna continue tonight
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
import { defineConfig, envField } from 'astro/config';
|
||||
|
||||
import react from '@astrojs/react';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({});
|
||||
export default defineConfig({
|
||||
integrations: [react({
|
||||
include: ['**/react/*']
|
||||
})],
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
env: {
|
||||
schema: {
|
||||
TMDB_API_TOKEN: envField.string({ context: 'client', access: 'public', default: 'https://api.example.com' }),
|
||||
SETTINGS_TOKEN: envField.string({ context: 'server', access: 'secret' }),
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user