Skip to content

vite-plugin-static-copy@4.0.0

Choose a tag to compare

@github-actions github-actions released this 22 Mar 07:58
· 14 commits to main since this release
8b3f810

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.