Files
old-kitabcitab-frontend/kitabcitab/node_modules/next/dist/client/normalize-locale-path.js
2022-12-27 12:05:56 +01:00

23 lines
826 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.normalizeLocalePath = void 0;
const normalizeLocalePath = (pathname, locales)=>{
if (process.env.__NEXT_I18N_SUPPORT) {
return require('../shared/lib/i18n/normalize-locale-path').normalizeLocalePath(pathname, locales);
}
return {
pathname,
detectedLocale: undefined
};
};
exports.normalizeLocalePath = normalizeLocalePath;
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
Object.defineProperty(exports.default, '__esModule', { value: true });
Object.assign(exports.default, exports);
module.exports = exports.default;
}
//# sourceMappingURL=normalize-locale-path.js.map