diff --git a/.changeset/pre.json b/.changeset/pre.json index 7d4ee79..3dcff11 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -4,5 +4,7 @@ "initialVersions": { "@mcansh/vite-svg-sprite-plugin": "0.3.0" }, - "changesets": [] + "changesets": [ + "itchy-trainers-dream" + ] } diff --git a/packages/vite-svg-sprite-plugin/CHANGELOG.md b/packages/vite-svg-sprite-plugin/CHANGELOG.md index bc69556..5312080 100644 --- a/packages/vite-svg-sprite-plugin/CHANGELOG.md +++ b/packages/vite-svg-sprite-plugin/CHANGELOG.md @@ -1,5 +1,15 @@ # @mcansh/vite-svg-sprite-plugin +## 0.4.0-pre.0 + +### Minor Changes + +- 9507fa9: use vite's emitFile to emit consistent file to all builds + + do some post build file transforms to replace the dev sprite name with the actual hashed sprite filename + + sort icons before adding to sprite for consistent hashes + ## 0.3.0 ### Minor Changes diff --git a/packages/vite-svg-sprite-plugin/package.json b/packages/vite-svg-sprite-plugin/package.json index 56ff0ea..69c5293 100644 --- a/packages/vite-svg-sprite-plugin/package.json +++ b/packages/vite-svg-sprite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@mcansh/vite-svg-sprite-plugin", - "version": "0.3.0", + "version": "0.4.0-pre.0", "repository": "mcansh/vite-svg-sprite-plugin", "funding": [ {