generouted
Advanced tools
Comparing version 1.6.12 to 1.6.13
{ | ||
"name": "generouted", | ||
"version": "1.6.12", | ||
"version": "1.6.13", | ||
"description": "Generated client-side file-based routes for Vite", | ||
@@ -5,0 +5,0 @@ "author": "Omar Elhawary <oedotme@gmail.com> (https://omarelhawary.me)", |
@@ -5,3 +5,3 @@ export const patterns = { | ||
param: [/\[([^\]]+)\]/g, ':$1'], | ||
slash: [/index|\./g, '/'], | ||
slash: [/^index$|\./g, '/'], | ||
} as const | ||
@@ -8,0 +8,0 @@ |
16619