UNPKG

@rushstack/heft

Version:

Build all your JavaScript projects the same way: A way that works.

16 lines 701 B
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. import { HeftCommandLineParser } from './cli/HeftCommandLineParser'; // Launching via lib-commonjs/start.js bypasses the version selector. Use that for debugging Heft. const parser = new HeftCommandLineParser(); parser .executeAsync() .then(() => { // This should be removed when the issue with aria not tearing down process.exit(process.exitCode === undefined ? 0 : process.exitCode); }) .catch((error) => { parser.globalTerminal.writeErrorLine(error.toString()); process.exit(1); }); //# sourceMappingURL=start.js.map