mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 13:09:03 +08:00
17 lines
480 B
JavaScript
17 lines
480 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import tailwind from '@astrojs/tailwind';
|
|
import svelte from '@astrojs/svelte';
|
|
import FullReload from 'vite-plugin-full-reload';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
// https://docs.astro.build/en/reference/configuration-reference/
|
|
integrations: [tailwind(), svelte()],
|
|
vite: {
|
|
plugins: [FullReload(['content/**/*'])],
|
|
optimizeDeps: {
|
|
exclude: ['locate-path', 'path-exists', 'find-up'],
|
|
},
|
|
},
|
|
});
|