mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 13:09:03 +08:00
21 lines
505 B
JavaScript
21 lines
505 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import tailwind from '@astrojs/tailwind';
|
|
import svelte from '@astrojs/svelte';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
// https://docs.astro.build/en/reference/configuration-reference/
|
|
integrations: [tailwind(), svelte()],
|
|
vite: {
|
|
plugins: [
|
|
// {
|
|
// handleHotUpdate({ file }) {
|
|
// if (file.includes('/content') || file.includes('/scripts/utils')) {
|
|
// generateIndexPage();
|
|
// }
|
|
// },
|
|
// },
|
|
],
|
|
},
|
|
});
|