-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
upstreamRelated to the dependenciesRelated to the dependencies
Description
Describe the bug
I use these rewrites in my Vitepress config:
rewrites: {
':section/{:_(\\d+_)}?:one/{:_(\\d+_)}?:two/{:_(\\d+_)}?:three' : ':section/:one/:two/:three',
':section/{:_(\\d+_)}?:one/{:_(\\d+_)}?:two' : ':section/:one/:two',
':section/{:_(\\d+_)}?:one' : ':section/:one'
},
Reproduction
I have a failing case right now on this PR, example build failure: https://github.com/jasonkuhrt/graffle/actions/runs/11219992004/job/31187185529?pr=1168.
Expected behavior
I expected that a minor release of Vitepress would not break the config.
System Info
System:
OS: macOS 15.0
CPU: (8) arm64 Apple M1 Pro
Memory: 78.25 MB / 32.00 GB
Shell: 3.5.0 - /opt/homebrew/bin/fish
Binaries:
Node: 22.7.0 - ~/Library/pnpm/node
npm: 10.8.2 - ~/Library/pnpm/npm
pnpm: 9.12.1 - /opt/homebrew/bin/pnpm
Browsers:
Brave Browser: 114.1.52.122
Chrome: 129.0.6668.91
Safari: 18.0
npmPackages:
vitepress: ^1.3.4 => 1.3.4
### Additional context
_No response_
### Validations
- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).
- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)
- [X] Read the [docs](https://vitepress.dev).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Heptazhou
Metadata
Metadata
Assignees
Labels
upstreamRelated to the dependenciesRelated to the dependencies