Skip to content

Releases: delucis/astro-emit-asset

astro-emit-asset@0.1.4

Choose a tag to compare

@github-actions github-actions released this 29 Jul 17:33
6b2fea2

Patch Changes

  • 321daae Thanks @delucis! - Avoids indexing the filename for an asset returned in an array with only one member.

    Previously, returning [{ data: '...' }] from an asset generator would result in a filename like example.0.HASH.jpg. The unnecessary index is now skipped, resulting in a cleaner filename like example.HASH.jpg.

  • 34758c7 Thanks @delucis! - Starts indexing at 1 for file names in assets that return multiple files.

    Previously, calling emitAsset() and returning an array of files would result in file names like example.0.HASH.jpg, example.1.HASH.jpg, etc. containing an incrementing index starting at 0 for each file. This index now starts at 1 instead of 0, resulting in file names like example.1.HASH.jpg, example.2.HASH.jpg, etc.

astro-emit-asset@0.1.3

Choose a tag to compare

@github-actions github-actions released this 29 Jul 12:08
59e7dc7

Patch Changes

astro-emit-asset@0.1.2

Choose a tag to compare

@github-actions github-actions released this 29 Jul 10:27
a002e86

Patch Changes

  • #6 51a7656 Thanks @delucis! - Fixes support for multiple instances of astro-emit-asset. This ensures that the integration can be included multiple times (e.g. by different packages that depend on it) without any issues.

astro-emit-asset@0.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Jul 08:28
21fdbd4

Patch Changes

astro-emit-asset@0.1.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 13:28
b99352c

Minor Changes