Skip to content

Releases: delucis/astro-auto-import

astro-auto-import@0.4.2

05 Dec 15:05
63fc061
Compare
Choose a tag to compare

Patch Changes

astro-auto-import@0.4.1

23 Nov 20:31
3ba79db
Compare
Choose a tag to compare

Patch Changes

astro-auto-import@0.4.0

23 Nov 20:07
cc6e567
Compare
Choose a tag to compare

Minor Changes

  • ec5f241: Added support for namespace imports, for importing all named exports from a module.

    AutoImport({
      imports: [
        {
          // Import all named exports from a module as a namespace
          // generates:
          // import * as Components from './src/components';
          './src/components': 'Components',
        },
      ],
    }),

Patch Changes

  • ea93946: refactor: strip out old “exposures” code

astro-auto-import@0.3.2

13 Nov 15:23
555c5e3
Compare
Choose a tag to compare

Patch Changes

  • 8baeeae: Fix Windows compatibility

astro-auto-import@0.3.1

05 Aug 08:32
83869a6
Compare
Choose a tag to compare

Patch Changes

  • 75f332a: Add support for Astro 3.0.0 incl. prereleases

astro-auto-import@0.3.0

27 Apr 09:39
b3de50a
Compare
Choose a tag to compare

Warning
This release includes breaking changes.
The minimum required Astro version is now 2.0 and auto-imports only work in MDX.

Minor Changes

  • ad941b0: Drop support for auto-importing in .astro files
  • ad941b0: Drop support for Astro v1

astro-auto-import@0.2.1

17 Jan 16:12
2e7ca72
Compare
Choose a tag to compare

Patch Changes

  • 9c5c1d2: Allow installation in Astro v2 projects

astro-auto-import@0.2.0

27 Sep 14:33
b166229
Compare
Choose a tag to compare

Minor Changes

  • aa42e19: Add support for @astrojs/mdx 🎉

    Auto-imports will now also be injected in .mdx files. You may need to remove manual imports if you were already using astro-auto-import v0.1.x with MDX.

  • 795e08e: Update to Astro v1 — remember to enable legacy.astroFlavoredMarkdown if you’re using components in .md files

astro-auto-import@0.1.2

27 Jun 20:10
797778f
Compare
Choose a tag to compare

Patch Changes

  • db1ac29: Internal: assign imports to globalThis instead of global — H/T @natemoo-re 🙌

astro-auto-import@0.1.1

26 Jun 21:36
febb94e
Compare
Choose a tag to compare

Patch Changes

  • c28efdf: Document extended imports config syntax
  • 075bfa2: Only resolve module identifiers that start with .
  • b89fcbb: Add support for named imports & import aliasing