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.
		
		
		
		
		
			
		
			
	
	
		
			19 lines
		
	
	
		
			559 B
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			559 B
		
	
	
	
		
			JavaScript
		
	
| 
											9 months ago
										 | "use strict"; | ||
|  | Object.defineProperty(exports, "__esModule", { | ||
|  |     value: true | ||
|  | }); | ||
|  | Object.defineProperty(exports, "writeBuildId", { | ||
|  |     enumerable: true, | ||
|  |     get: function() { | ||
|  |         return writeBuildId; | ||
|  |     } | ||
|  | }); | ||
|  | const _fs = require("fs"); | ||
|  | const _path = require("path"); | ||
|  | const _constants = require("../shared/lib/constants"); | ||
|  | async function writeBuildId(distDir, buildId) { | ||
|  |     const buildIdPath = (0, _path.join)(distDir, _constants.BUILD_ID_FILE); | ||
|  |     await _fs.promises.writeFile(buildIdPath, buildId, "utf8"); | ||
|  | } | ||
|  | 
 | ||
|  | //# sourceMappingURL=write-build-id.js.map
 |