github withastro/astro @astrojs/preact@5.1.0

11 hours ago

Minor Changes

  • #15862 06fba3a Thanks @crutchcorn! - Adds support for passing a Babel config to the Preact Vite Plugin:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import preact from '@astrojs/preact';
    
    export default defineConfig({
      integrations: [
        preact({
          babel: {
            generatorOpts: {
              importAttributesKeyword: 'with',
            },
          },
        }),
      ],
    });

Don't miss a new astro release

NewReleases is sending notifications on new releases.