This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/next/dist/esm/client/add-locale.js
2025-01-11 09:54:09 +03:00

12 lines
501 B
JavaScript

import { normalizePathTrailingSlash } from "./normalize-trailing-slash";
export const addLocale = function(path) {
for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
args[_key - 1] = arguments[_key];
}
if (process.env.__NEXT_I18N_SUPPORT) {
return normalizePathTrailingSlash(require("../shared/lib/router/utils/add-locale").addLocale(path, ...args));
}
return path;
};
//# sourceMappingURL=add-locale.js.map