Buckets:
| import type { normalizeLocalePath as Fn } from '../shared/lib/i18n/normalize-locale-path' | |
| export const normalizeLocalePath: typeof Fn = (pathname, locales) => { | |
| if (process.env.__NEXT_I18N_SUPPORT) { | |
| return ( | |
| require('../shared/lib/i18n/normalize-locale-path') as typeof import('../shared/lib/i18n/normalize-locale-path') | |
| ).normalizeLocalePath(pathname, locales) | |
| } | |
| return { pathname, detectedLocale: undefined } | |
| } | |
Xet Storage Details
- Size:
- 435 Bytes
- Xet hash:
- 0ef97370bd66555db4ccea5282af6ee7b9de992d63d9ff9bee2ec06fd59b059b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.