0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-31 23:31:30 -05:00

chore: import sorting for test folder and e2e folder (#10190)

This commit is contained in:
Emanuele Stoppa 2024-02-22 13:58:10 +00:00 committed by GitHub
parent 7c5fcd2fa8
commit 1e638c4019
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
188 changed files with 232 additions and 232 deletions

View file

@ -1,7 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"files": {
"include": ["*.test.js"],
"include": ["test/**", "e2e/**"],
"ignore": ["vendor"]
},
"organizeImports": {

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact'
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { h, Fragment } from 'preact';
import { Fragment, h } from 'preact';
import { useState } from 'preact/hooks';
import './Counter.css';

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { fileURLToPath } from 'node:url';
import react from "@astrojs/react";
import { defineConfig } from 'astro/config';
import { fileURLToPath } from 'node:url';
export default defineConfig({
integrations: [astroClientClickDirective(), astroClientPasswordDirective(), astroHasOptionsDirective(), react()],

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import lit from '@astrojs/lit';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import mdx from "@astrojs/mdx";
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import mdx from '@astrojs/mdx';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { h, Fragment } from 'preact';
import { Fragment, h } from 'preact';
import { useState } from 'preact/hooks';
import './Counter.css';

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import mdx from '@astrojs/mdx';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { h, Fragment } from 'preact';
import { useState } from 'preact/hooks';
import { Fragment, h } from 'preact';
import { Suspense, lazy } from 'preact/compat';
import { useState } from 'preact/hooks';
import './Counter.css';
const LazyCounterMessage = lazy(() => import('./CounterMessage'))

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import mdx from '@astrojs/mdx';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
import mdx from '@astrojs/mdx';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import { fileURLToPath } from 'node:url';
import tailwind from '@astrojs/tailwind';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,8 +1,8 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import vue from '@astrojs/vue';
import svelte from '@astrojs/svelte';
import nodejs from '@astrojs/node';
import react from '@astrojs/react';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import vue from '@astrojs/vue';
import mdx from '@astrojs/mdx';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,7 +1,7 @@
import { expect, test as testBase } from '@playwright/test';
import fs from 'node:fs/promises';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { expect, test as testBase } from '@playwright/test';
import { loadFixture as baseLoadFixture } from '../test/test-utils.js';
export const isWindows = process.platform === 'win32';

View file

@ -1,7 +1,7 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import mdx from '@astrojs/mdx';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,7 +1,7 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import vue from '@astrojs/vue';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
import react from '@astrojs/react';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { h, Fragment } from 'preact';
import { Fragment, h } from 'preact';
import { useState } from 'preact/hooks';
/** a counter written in Preact */

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import { rehypeReadingTime, remarkTitle, remarkDescription } from './src/markdown-plugins.mjs'
import { rehypeReadingTime, remarkDescription, remarkTitle } from './src/markdown-plugins.mjs'
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import getReadingTime from 'reading-time';
import { toString } from 'mdast-util-to-string';
import getReadingTime from 'reading-time';
import { visit } from 'unist-util-visit';
export function rehypeReadingTime() {

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import svelte from "@astrojs/svelte";
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { rawContent, compiledContent } from './basic.md';
import { compiledContent, rawContent } from './basic.md';
export async function GET() {
return Response.json({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import { fileURLToPath } from 'node:url';
import tailwind from '@astrojs/tailwind';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [

View file

@ -1,9 +1,9 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [

View file

@ -1,4 +1,4 @@
import { h, Fragment } from 'preact';
import { Fragment, h } from 'preact';
export default function PassesChildren({ children }) {
return <Fragment>{ children }</Fragment>;

View file

@ -1,4 +1,4 @@
import { useState, useEffect } from 'react';
import { useEffect, useState } from 'react';
export default function Parent({ children }) {
const [show, setShow] = useState(false);

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [preact()]

View file

@ -1,7 +1,7 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [preact(), react(), svelte()],

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const withCustomSlugs = defineCollection({
schema: z.object({}),

View file

@ -1,4 +1,4 @@
import { defineCollection, z, reference } from 'astro:content';
import { defineCollection, reference, z } from 'astro:content';
const banners = defineCollection({
type: 'data',

View file

@ -1,4 +1,4 @@
import { getEntry, getEntries } from 'astro:content';
import { getEntries, getEntry } from 'astro:content';
export async function GET() {
const welcomePost = await getEntry('blog', 'welcome');

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const docs = defineCollection({

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
schema: z.object({

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
schema: z.object({

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
schema: z.object({

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
schema: z.object({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const withCustomSlugs = defineCollection({
// Ensure schema passes even when `slug` is present

View file

@ -1,6 +1,6 @@
import { getCollection } from 'astro:content';
import * as devalue from 'devalue';
import { stripAllRenderFn } from '../utils.js';
import { getCollection } from 'astro:content';
export async function GET() {
const withoutConfig = stripAllRenderFn(await getCollection('without-config'));

View file

@ -1,6 +1,6 @@
import { getEntryBySlug } from 'astro:content';
import * as devalue from 'devalue';
import { stripRenderFn } from '../utils.js';
import { getEntryBySlug } from 'astro:content';
export async function GET() {
const columbiaWithoutConfig = stripRenderFn(await getEntryBySlug('without-config', 'columbia'));

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [mdx()],

View file

@ -1,4 +1,4 @@
import { z, defineCollection } from 'astro:content';
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
schema: z.object({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react'
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import path from "path";
import { defineConfig } from 'astro/config';
// https://astro.build/config
import node from "@astrojs/node";

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,11 +1,11 @@
import { defineConfig } from 'astro/config';
import renderer from 'astro/jsx/renderer.js';
import mdx from '@astrojs/mdx';
import preact from '@astrojs/preact';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
import renderer from 'astro/jsx/renderer.js';
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { h, Fragment } from 'preact';
import { Fragment, h } from 'preact';
import { useState } from 'preact/hooks';
/** a counter written in Preact */

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import lit from '@astrojs/lit';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { LitElement, html } from 'lit';
import { property, customElement } from 'lit/decorators.js';
import { customElement, property } from 'lit/decorators.js';
@customElement('non-deferred-counter')
export class NonDeferredCounter extends LitElement {

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [

View file

@ -1,5 +1,5 @@
import {defineConfig} from "astro/config";
import {fileURLToPath} from "node:url";
import {defineConfig} from "astro/config";
export default defineConfig({
integrations: [

View file

@ -1,4 +1,4 @@
import { sequence, defineMiddleware } from 'astro:middleware';
import { defineMiddleware, sequence } from 'astro:middleware';
const first = defineMiddleware(async (context, next) => {
if (context.request.url.includes('/second')) {

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import { fileURLToPath } from 'node:url';
import tailwind from '@astrojs/tailwind';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,7 +1,7 @@
import { defineConfig } from 'astro/config';
import solid from '@astrojs/solid-js';
import svelte from '@astrojs/svelte';
import vue from '@astrojs/vue';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,5 +1,5 @@
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({

View file

@ -1,4 +1,4 @@
import { h, Component } from 'preact';
import { Component, h } from 'preact';
export default class extends Component {
render() {

View file

@ -1,4 +1,4 @@
import { h, Fragment } from 'preact';
import { Fragment, h } from 'preact';
export default function() {
return <Fragment></Fragment>

View file

@ -1,4 +1,4 @@
import { h, Component } from 'preact';
import { Component, h } from 'preact';
export default function() {
return <div id="fn-component"></div>;

View file

@ -1,6 +1,6 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import solid from '@astrojs/solid-js';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [react(), solid()]

Some files were not shown because too many files have changed in this diff Show more