Packages

@astrojs/preact

6.1.6 · 13 Nov 2026MIT267k / weekRepositoryHomepagenpmAtom feed

Your version

5.1.0

26 Mar 2026Where it was published

5.1.5 is the newest release of 5.x.

In short

1 new

Release note

Minor Changes

  • 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',
            },
          },
        }),
      ],
    });

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.