chore(deps): update dependency vite-plugin-static-copy to v4#2198
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency vite-plugin-static-copy to v4#2198renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
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:
^3.0.0→^4.0.0Release Notes
sapphi-red/vite-plugin-static-copy (vite-plugin-static-copy)
v4.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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.