Skip to contentOpen History to see the last commit
useExperimentalNonNestedRoutes.ts
6 lines260 Bytes
1export const useExperimentalNonNestedRoutes = 2 typeof process !== 'undefined' 3 ? typeof process.env.MODE !== 'undefined' 4 ? process.env.MODE === 'nonnested' 5 : process.env.VITE_MODE === 'nonnested' 6 : import.meta.env.VITE_MODE === 'nonnested'