Skip to content

build(deps-dev): bump vite-plugin-static-copy from 3.4.0 to 4.1.0#2661

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/vite-plugin-static-copy-4.1.0
Open

build(deps-dev): bump vite-plugin-static-copy from 3.4.0 to 4.1.0#2661
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/vite-plugin-static-copy-4.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Bumps vite-plugin-static-copy from 3.4.0 to 4.1.0.

Release notes

Sourced from vite-plugin-static-copy's releases.

vite-plugin-static-copy@4.1.0

Minor Changes

  • #251 7672842 Thanks @​sapphi-red! - Add name property to the rename object form and allow rename functions to return a RenameObject. The name property replaces the file's basename (filename + extension), and can be combined with stripBase to 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.

    // node_modules/lib/dist/index.js → vendor/lib.js
    { src: 'node_modules/lib/dist/index.js', dest: 'vendor', rename: { name: 'lib.js', stripBase: true } }
    // src/pages/events/test.html → dist/events/index.html
    { src: 'src/pages/**/*.html', dest: 'dist/', rename: { stripBase: 2, name: 'index.html' } }

vite-plugin-static-copy@4.0.1

Patch Changes

  • #249 c6bf44c Thanks @​sapphi-red! - Fix absolute dest paths being nested under the output directory

    When dest was 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.

    { src: 'foo/foo.txt', dest: '/home/user/my-repo/bar' }

    Before: /home/user/my-repo/dist/home/user/my-repo/bar/foo/foo.txt After: /home/user/my-repo/bar/foo/foo.txt

  • #247 d3af79e Thanks @​sapphi-red! - Fix rename.stripBase to work correctly with ../ paths

    Previously, stripBase counted .. as directory segments, causing incorrect output paths when copying from parent directories.

    { src: '../../src/pages/**/*.html', dest: 'dist/', rename: { stripBase: 2 } }

    Before: dist/src/pages/events/test.html After: dist/events/test.html

    { src: '../../src/pages/**/*.html', dest: 'dist/', rename: { stripBase: true } }

    Before: dist/src/pages/events/test.html After: dist/test.html

vite-plugin-static-copy@4.0.0

Major Changes

... (truncated)

Changelog

Sourced from vite-plugin-static-copy's changelog.

4.1.0

Minor Changes

  • #251 7672842 Thanks @​sapphi-red! - Add name property to the rename object form and allow rename functions to return a RenameObject. The name property replaces the file's basename (filename + extension), and can be combined with stripBase to 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.

    // node_modules/lib/dist/index.js → vendor/lib.js
    { src: 'node_modules/lib/dist/index.js', dest: 'vendor', rename: { name: 'lib.js', stripBase: true } }
    // src/pages/events/test.html → dist/events/index.html
    { src: 'src/pages/**/*.html', dest: 'dist/', rename: { stripBase: 2, name: 'index.html' } }

4.0.1

Patch Changes

  • #249 c6bf44c Thanks @​sapphi-red! - Fix absolute dest paths being nested under the output directory

    When dest was 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.

    { src: 'foo/foo.txt', dest: '/home/user/my-repo/bar' }

    Before: /home/user/my-repo/dist/home/user/my-repo/bar/foo/foo.txt After: /home/user/my-repo/bar/foo/foo.txt

  • #247 d3af79e Thanks @​sapphi-red! - Fix rename.stripBase to work correctly with ../ paths

    Previously, stripBase counted .. as directory segments, causing incorrect output paths when copying from parent directories.

    { src: '../../src/pages/**/*.html', dest: 'dist/', rename: { stripBase: 2 } }

    Before: dist/src/pages/events/test.html After: dist/events/test.html

    { src: '../../src/pages/**/*.html', dest: 'dist/', rename: { stripBase: true } }

    Before: dist/src/pages/events/test.html After: dist/test.html

4.0.0

Major Changes

... (truncated)

Commits
  • e95cd6e chore: update versions (#253)
  • 7672842 feat: add name property to RenameObject and allow RenameFunc to return ...
  • 7ae0134 chore: update versions (#248)
  • de515fa chore(deps): update dependency typescript to v6 (#245)
  • fe392e1 chore(deps): update all non-major dependencies (#244)
  • c6bf44c fix: handle absolute path dest correctly (#249)
  • 9ca2d6a test: add test case with nested src and rename.stripBase: true (#250)
  • d3af79e fix: rename.stripBase with parent relative path (#247)
  • 8b3f810 chore: update versions (#236)
  • 9766e42 refactor!: drop Node 18, 20, 21, 23 support (#238)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added area-dependencies Pull requests that update a dependency file platform-javascript Related to the JavaScript version of alphaTab labels Apr 20, 2026
@github-actions github-actions Bot enabled auto-merge (squash) April 20, 2026 11:20
@dependabot dependabot Bot changed the title build(deps-dev): bump vite-plugin-static-copy from 3.3.0 to 4.1.0 build(deps-dev): bump vite-plugin-static-copy from 3.4.0 to 4.1.0 Apr 26, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vite-plugin-static-copy-4.1.0 branch from 40b0c6a to 59a72ad Compare April 26, 2026 16:39
Bumps [vite-plugin-static-copy](https://github.com/sapphi-red/vite-plugin-static-copy) from 3.4.0 to 4.1.0.
- [Release notes](https://github.com/sapphi-red/vite-plugin-static-copy/releases)
- [Changelog](https://github.com/sapphi-red/vite-plugin-static-copy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sapphi-red/vite-plugin-static-copy/compare/vite-plugin-static-copy@3.4.0...vite-plugin-static-copy@4.1.0)

---
updated-dependencies:
- dependency-name: vite-plugin-static-copy
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vite-plugin-static-copy-4.1.0 branch from 59a72ad to 13315d8 Compare April 26, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-dependencies Pull requests that update a dependency file platform-javascript Related to the JavaScript version of alphaTab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants