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.
		
		
		
		
		
			
		
			
	
	
		
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JavaScript
		
	
| 
											9 months ago
										 | "use strict"; | ||
|  | Object.defineProperty(exports, "__esModule", { | ||
|  |     value: true | ||
|  | }); | ||
|  | 0 && (module.exports = { | ||
|  |     isCI: null, | ||
|  |     name: null, | ||
|  |     hasNextSupport: null | ||
|  | }); | ||
|  | function _export(target, all) { | ||
|  |     for(var name in all)Object.defineProperty(target, name, { | ||
|  |         enumerable: true, | ||
|  |         get: all[name] | ||
|  |     }); | ||
|  | } | ||
|  | _export(exports, { | ||
|  |     isCI: function() { | ||
|  |         return isCI; | ||
|  |     }, | ||
|  |     name: function() { | ||
|  |         return name; | ||
|  |     }, | ||
|  |     hasNextSupport: function() { | ||
|  |         return hasNextSupport; | ||
|  |     } | ||
|  | }); | ||
|  | const _ciinfo = /*#__PURE__*/ _interop_require_default(require("next/dist/compiled/ci-info")); | ||
|  | function _interop_require_default(obj) { | ||
|  |     return obj && obj.__esModule ? obj : { | ||
|  |         default: obj | ||
|  |     }; | ||
|  | } | ||
|  | const { isCI: _isCI, name: _name } = _ciinfo.default; | ||
|  | const isZeitNow = !!process.env.NOW_BUILDER; | ||
|  | const envStack = process.env.STACK; | ||
|  | const isHeroku = typeof envStack === "string" && envStack.toLowerCase().includes("heroku"); | ||
|  | const isCI = isZeitNow || isHeroku || _isCI; | ||
|  | const name = isZeitNow ? "ZEIT Now" : isHeroku ? "Heroku" : _name; | ||
|  | const hasNextSupport = Boolean(isZeitNow); | ||
|  | 
 | ||
|  | //# sourceMappingURL=ci-info.js.map
 |