Skip to content

Releases: bluwy/svelte-preprocess-import-assets

v1.1.0

11 Nov 12:44
Compare
Choose a tag to compare
  • Support Svelte 5
  • Add estree-walker as dependency to support Svelte 5

v1.0.1

23 Jun 09:07
Compare
Choose a tag to compare
  • Support Svelte 4

v1.0.0

07 Apr 09:12
Compare
Choose a tag to compare
  • BREAKING: use named export instead of default export
// Before
import importAssets from 'svelte-preprocess-import-assets'

// After
import { importAssets } from 'svelte-preprocess-import-assets'
  • Export ESM only
  • Fix incorrect filter metadata value (#17)

v0.2.6

23 Feb 06:37
Compare
Choose a tag to compare
  • Handle actual attributes only. Ignore spread, actions, etc.
  • Add types export condition
  • Update magic-string to 0.30.0

v0.2.5

10 Dec 08:05
Compare
Choose a tag to compare
  • Update magic-string to 0.27.0

v0.2.4

01 Dec 07:44
Compare
Choose a tag to compare
  • link imagesrcset should not be processed if have valid itemprop for href only

v0.2.3

25 Nov 01:53
Compare
Choose a tag to compare
  • Fix CJS usage

Note: I forgot to cut the GitHub releases for the previous v0.2 versions. Check out the CHANGELOG for details.

v0.1.6

08 Feb 06:02
Compare
Choose a tag to compare

Fixed

  • Handle srcset without width, e,g. ./foo.mp4, ./bar.mp4 1v

I forgot to make a GitHub release for 0.1.4 and 0.1.5

0.1.5

Fixed

  • Handle src attribute for video tags

0.1.4

Fixed

  • Skip URL that starts with a hash

v0.1.3

27 Aug 08:03
Compare
Choose a tag to compare

Fixed

  • Ignore attributes with mustache value

v0.1.2

07 May 06:30
Compare
Choose a tag to compare

Fixed

  • Always scan through the entire source list