Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
12
node_modules/next/dist/esm/client/add-locale.js
generated
vendored
Normal file
12
node_modules/next/dist/esm/client/add-locale.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue