@rushstack/package-extractor
Version:
A library for bundling selected files and dependencies into a deployable package.
14 lines • 829 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.getExtractorMetadataAsync = getExtractorMetadataAsync;
const node_core_library_1 = require("@rushstack/node-core-library");
const PathConstants_1 = require("../../../PathConstants");
async function getExtractorMetadataAsync() {
const extractorMetadataPath = `${__dirname}/${PathConstants_1.EXTRACTOR_METADATA_FILENAME}`;
const extractorMetadataJson = await node_core_library_1.FileSystem.readFileAsync(extractorMetadataPath);
const extractorMetadataObject = JSON.parse(extractorMetadataJson);
return extractorMetadataObject;
}
//# sourceMappingURL=CreateLinksUtilities.js.map
;