sveltekit-svg

SvelteKit plugin that makes it possible to import SVG files as Svelte components, inline SVG code or urls

MIT License

Downloads
32.9K
Stars
230
Committers
9

Bot releases are visible (Hide)

sveltekit-svg - v.0.2.2- Update `transform` params for Vite 2.7.0

Published by poppa almost 3 years ago

This is just an internal change.

This fixes #11.

sveltekit-svg - v.0.2.1 - Include typings

Published by poppa almost 3 years ago

Noticed that the index.d.ts file was missing from the package.

Hopefully it's included now

sveltekit-svg - v.0.2.0 - Attribute support

Published by poppa almost 3 years ago

It is now possible to pass attributes to the SVG when it is imported as a Svelte component

sveltekit-svg - v0.1.8 - Upgraded package dependencies

Published by poppa almost 3 years ago

Maintenance: Upgraded package dependencies.

No code changes

sveltekit-svg - v0.1.7 - svgo.optimize() fix

Published by poppa about 3 years ago

This was also included in v.0.1.6 but not release was built for that.

The CHANGELOG got out of sync, which is the reason for this release.

sveltekit-svg - v0.1.4 - Use optimized SVG

Published by poppa about 3 years ago

There was a bug where the optimized SVG wasn't used in the Svelte component.

sveltekit-svg - v0.1.3 - Fixed example in README

Published by poppa over 3 years ago

No code changes

sveltekit-svg - v.0.1.2 - Fixes some typos

Published by poppa over 3 years ago

This version bump contains no code chnages

sveltekit-svg - v0.1.1 - Changed Svelte peer dep to 3.x

Published by poppa over 3 years ago

sveltekit-svg - Added changelog

Published by poppa over 3 years ago

Now this package is pretty much for real