From 6996772e160fc51b554ae4df33c9e083a4c939a6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 15:19:03 -0400 Subject: [PATCH] chore: Update version for release (pre) (#30) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 4 +++- packages/vite-svg-sprite-plugin/CHANGELOG.md | 10 ++++++++++ packages/vite-svg-sprite-plugin/package.json | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) 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": [ {