Skip to content

chore(deps): update dependency vite-plugin-static-copy to v4#4443

Merged
brandyscarney merged 1 commit intomainfrom
renovate/major-vite-html
Mar 25, 2026
Merged

chore(deps): update dependency vite-plugin-static-copy to v4#4443
brandyscarney merged 1 commit intomainfrom
renovate/major-vite-html

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 25, 2026

This PR contains the following updates:

Package Change Age Confidence
vite-plugin-static-copy ^3.1.0^4.0.0 age confidence

Release Notes

sapphi-red/vite-plugin-static-copy (vite-plugin-static-copy)

v4.0.0

Compare Source

Major Changes
  • #​235 b2edc86 Thanks @​sapphi-red! - Simplify glob behavior and always preserve directory structure.

    Breaking changes:

    • Only files are matched. Glob patterns no longer match directory entries. Previously, matching a directory would recursively copy it via fs.cp, which caused files to be copied twice when using ** patterns.
    • Directory patterns are auto-expanded. src: 'assets' now automatically expands to match all files inside the directory, using tinyglobby's built-in expandDirectories option. No migration needed for this pattern alone.
    • structured option removed. Directory structure is now always preserved in the output. The structured option has been removed entirely. Use rename: { stripBase: true } to flatten output paths when needed.
  • #​237 6129008 Thanks @​sapphi-red! - Drop support for Vite 5

  • #​238 9766e42 Thanks @​sapphi-red! - Drop support for Node 18, 20, 21, 23. The new support range is ^22.0.0 || >= 24.0.0.

v3.4.0

Compare Source

Minor Changes
  • #​233 f665a15 Thanks @​sapphi-red! - Add { stripBase: number } object form to the rename option. 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/**/* with structured: 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 use rename: { stripBase: N } to declaratively strip the leading segments.


Configuration

📅 Schedule: Branch creation - "every weekday before 11am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner March 25, 2026 09:17
@renovate renovate bot requested a review from brandyscarney March 25, 2026 09:17
@vercel
Copy link

vercel bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-docs Ready Ready Preview, Comment Mar 25, 2026 9:19am

Request Review

@brandyscarney brandyscarney merged commit a262b73 into main Mar 25, 2026
5 checks passed
@brandyscarney brandyscarney deleted the renovate/major-vite-html branch March 25, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant