vite-plugin-vercel 11.0.0-beta.17 → 11.0.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vite.js +2 -2
- package/package.json +1 -1
package/dist/vite.js
CHANGED
|
@@ -797,8 +797,8 @@ function getConfig(pluginConfig) {
|
|
|
797
797
|
});
|
|
798
798
|
}
|
|
799
799
|
function wrapRouteInParentheses(route) {
|
|
800
|
-
if (!route.
|
|
801
|
-
route.
|
|
800
|
+
if (!route.src || route.src.match(/^\(.*\)$/) || route.src.match(/^\^\(.*\)\$$/)) return;
|
|
801
|
+
route.src = `(${route.src})`;
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
//#endregion
|