chore(deps): update dependency vite-plugin-static-copy to v4 - #1329
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/vite-plugin-static-copy-4.x
branch
from
August 14, 2026 21:46
71aa3d6 to
4e9c5a6
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-static-copy-4.x
branch
2 times, most recently
from
September 2, 2026 18:45
190d420 to
88c3d78
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-static-copy-4.x
branch
from
September 7, 2026 19:15
88c3d78 to
3ed4291
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-static-copy-4.x
branch
from
September 15, 2026 09:43
3ed4291 to
5d07fcf
Compare
renovate
Bot
force-pushed
the
renovate/vite-plugin-static-copy-4.x
branch
from
September 18, 2026 08:08
5d07fcf to
f447c45
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.3.2→^4.0.0Release Notes
sapphi-red/vite-plugin-static-copy (vite-plugin-static-copy)
v4.1.1Compare Source
Patch Changes
671579bThanks @saif-shines! - Use each environment's resolvedbuild.outDirwhen copying static assets during build. Previously the plugin kept only the lastconfigResolvedconfig, so multi-environment setups (for example Astro with separate client and SSR output directories) could copy files into the wrong folder.v4.1.0Compare Source
Minor Changes
#251
7672842Thanks @sapphi-red! - Addnameproperty to therenameobject form and allow rename functions to return aRenameObject. Thenameproperty replaces the file's basename (filename + extension), and can be combined withstripBaseto both flatten directory structure and rename the file in one step. Rename functions can now return{ name, stripBase }objects instead of only strings, making it easier to declaratively control output paths from dynamic rename logic.v4.0.1Compare Source
Patch Changes
#249
c6bf44cThanks @sapphi-red! - Fix absolutedestpaths being nested under the output directoryWhen
destwas an absolute path and the source file had a directory component (structured output), the path was incorrectly converted to a relative path, causing files to be nested under the build output directory instead of being copied to the specified absolute path.Before:
/home/user/my-repo/dist/home/user/my-repo/bar/foo/foo.txtAfter:
/home/user/my-repo/bar/foo/foo.txt#247
d3af79eThanks @sapphi-red! - Fixrename.stripBaseto work correctly with../pathsPreviously,
stripBasecounted..as directory segments, causing incorrect output paths when copying from parent directories.Before:
dist/src/pages/events/test.htmlAfter:
dist/events/test.htmlBefore:
dist/src/pages/events/test.htmlAfter:
dist/test.htmlv4.0.0Compare Source
Major Changes
#235
b2edc86Thanks @sapphi-red! - Simplify glob behavior and always preserve directory structure.Breaking changes:
fs.cp, which caused files to be copied twice when using**patterns.src: 'assets'now automatically expands to match all files inside the directory, using tinyglobby's built-inexpandDirectoriesoption. No migration needed for this pattern alone.structuredoption removed. Directory structure is now always preserved in the output. Thestructuredoption has been removed entirely. Userename: { stripBase: true }to flatten output paths when needed.#237
6129008Thanks @sapphi-red! - Drop support for Vite 5#238
9766e42Thanks @sapphi-red! - Drop support for Node 18, 20, 21, 23. The new support range is^22.0.0 || >= 24.0.0.v3.4.0Compare Source
Minor Changes
#233
f665a15Thanks @sapphi-red! - Add{ stripBase: number }object form to therenameoption. This strips the given number of leading directory segments from the matched path, avoiding the need for manual../traversals in a rename function.This is useful when copying files from deep paths like
node_modules/my-lib/dist/**/*withstructured: true, where the full directory structure would otherwise be preserved in the output. Instead of writing a rename function that manually returns../traversals to flatten unwanted nesting, you can userename: { stripBase: N }to declaratively strip the leading segments.v3.3.0Compare Source
Minor Changes
3074e1aThanks @sapphi-red! - Add Vite 8 to peer dependency range.v3.2.0Compare Source
Minor Changes
fbb2a7aThanks @sapphi-red! - Addenvironmentoption to configure which environment the plugin runs in. Defaults to'client'.v3.1.6Compare Source
Patch Changes
e3d457dThanks @sapphi-red! - Only skip non-client environments when multiple environments exist.v3.1.5Compare Source
Patch Changes
3f252ccThanks @sapphi-red! - Only copy for the client environment.v3.1.4Compare Source
Patch Changes
d0b5370Thanks @stianjensen! - Removedfs-extradependency in favor ofnode:fs. This should not affect the behavior.v3.1.3Compare Source
Patch Changes
9388186Thanks @sapphi-red! - Switched to use trusted publisher to publish the package.v3.1.2Compare Source
Patch Changes
0bc6b49Thanks @sapphi-red! - Files not included insrcwas possible to acess with a crafted request. See GHSA-pp7p-q8fx-2968 for more details.v3.1.1Compare Source
Patch Changes
fc84156Thanks @sapphi-red! - fix a bug that the content was not sent when multiple vite-plugin-static-copy instance was usedv3.1.0Compare Source
Minor Changes
9c7cf2eThanks @MrRefactoring! - add Vite 7 to peer dep rangev3.0.2Compare Source
Patch Changes
89458b2Thanks @sapphi-red! - improved file grouping algorithm for better performancev3.0.1Compare Source
Patch Changes
#166
60409c5Thanks @sapphi-red! - fix absolute destination paths in copy targets incorrectly returning contents in dev#164
337f976Thanks @sapphi-red! - fixes case-insensitive path conflicts causing copy failures (EEXIST error)v3.0.0Compare Source
Major Changes
71f4f5bThanks @sapphi-red! - migratefast-globtotinyglobbyto reduce the package size and to align with Vite. This breaking change should not affect most users. Check Vite's migration guide for more details.Configuration
📅 Schedule: (in timezone Europe/Oslo)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.