write-build-id.js 458 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.writeBuildId = writeBuildId;
  6. var _fs = require("fs");
  7. var _path = require("path");
  8. var _constants = require("../shared/lib/constants");
  9. async function writeBuildId(distDir, buildId) {
  10. const buildIdPath = (0, _path).join(distDir, _constants.BUILD_ID_FILE);
  11. await _fs.promises.writeFile(buildIdPath, buildId, "utf8");
  12. }
  13. //# sourceMappingURL=write-build-id.js.map