normalize-locale-path.js 826 B

1234567891011121314151617181920212223
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.normalizeLocalePath = void 0;
  6. const normalizeLocalePath = (pathname, locales)=>{
  7. if (process.env.__NEXT_I18N_SUPPORT) {
  8. return require('../shared/lib/i18n/normalize-locale-path').normalizeLocalePath(pathname, locales);
  9. }
  10. return {
  11. pathname,
  12. detectedLocale: undefined
  13. };
  14. };
  15. exports.normalizeLocalePath = normalizeLocalePath;
  16. if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
  17. Object.defineProperty(exports.default, '__esModule', { value: true });
  18. Object.assign(exports.default, exports);
  19. module.exports = exports.default;
  20. }
  21. //# sourceMappingURL=normalize-locale-path.js.map