519a1c4e84
* JSX refactor * Get preact/compat test to pass * Use include config * Remove old astro flavored markdown test * Move babel dep to preact * Remove errant debugger * Update lockfile * Update the multi-framework example * Update e2e tests * Fix nested-in-vue tests * Add back in astro check * Update packages/astro/src/core/create-vite.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/astro/src/core/create-vite.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/integrations/solid/src/index.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update packages/integrations/solid/src/index.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update .changeset/perfect-horses-tell.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Move the comment about the include config * Remove redundant alias config * Use react's own preamble code * Use the base for the preamble * Remove solid redundancy * Update .changeset/perfect-horses-tell.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update based on review comments * Oops --------- Co-authored-by: Fred K. Schott <fkschott@gmail.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
18 lines
524 B
JavaScript
18 lines
524 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import preact from '@astrojs/preact';
|
|
import react from '@astrojs/react';
|
|
import svelte from '@astrojs/svelte';
|
|
import vue from '@astrojs/vue';
|
|
import solid from '@astrojs/solid-js';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
// Enable many frameworks to support all different kinds of components.
|
|
integrations: [
|
|
preact({ include: ['**/preact/*'] }),
|
|
solid({ include: ['**/solid/*'] }),
|
|
react({ include: ['**/react/*'] }),
|
|
svelte(),
|
|
vue(),
|
|
],
|
|
});
|