oedotme / generouted

Generated file-based routes for Vite
https://stackblitz.com/github.com/oedotme/generouted/tree/main/explorer
MIT License
1.02k stars 47 forks source link

Parentheses directories with a hyphen in the name #143

Closed yoshintame closed 8 months ago

yoshintame commented 8 months ago

Describe the Bug

Parentheses directory with a hyphen in the name are interpreted as part of the route

Generouted Version

1.17.0

Your Example Website or App or Reproduction

https://stackblitz.com/edit/github-1l15va

Steps to Reproduce the Bug or Issue

  1. Create parentheses directories with a hyphen in the name, for example: "(auth-test)"
  2. Check the router file for generated routes, name of this directory will be part of the route

Expected Behavior

Parentheses directory with a hyphen in the name should not be interpreted as part of the route

Screenshots or Videos

No response

Platform

Additional context

No response

oedotme commented 8 months ago

@Yoshintame Thanks for reporting, this is now fixed at v1.17.1