You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			1010 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			24 lines
		
	
	
		
			1010 B
		
	
	
	
		
			JavaScript
		
	
| "use strict";
 | |
| Object.defineProperty(exports, "__esModule", {
 | |
|     value: true
 | |
| });
 | |
| Object.defineProperty(exports, "addBasePath", {
 | |
|     enumerable: true,
 | |
|     get: function() {
 | |
|         return addBasePath;
 | |
|     }
 | |
| });
 | |
| const _addpathprefix = require("../shared/lib/router/utils/add-path-prefix");
 | |
| const _normalizetrailingslash = require("./normalize-trailing-slash");
 | |
| const basePath = process.env.__NEXT_ROUTER_BASEPATH || "";
 | |
| function addBasePath(path, required) {
 | |
|     return (0, _normalizetrailingslash.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required ? path : (0, _addpathprefix.addPathPrefix)(path, basePath));
 | |
| }
 | |
| 
 | |
| 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=add-base-path.js.map
 |