UNPKG

next

Version:

The React Framework

6 lines (5 loc) • 520 B
export const STRICT_ROUTE_MATCHING_DEFAULT_WARNING = "Strict route matching is enabled by default. This validation indicates a bug in your app's route structure, but you can temporarily restore loose route matching by setting `deprecated.looseRouteMatching` to `true` in your Next.js config."; export function getStrictRouteMatchingDefaultWarning(config) { return config.experimental.strictRouteMatching ? STRICT_ROUTE_MATCHING_DEFAULT_WARNING : undefined; } //# sourceMappingURL=strict-route-matching-config.js.map