UNPKG

@graphql-mesh/serve-cli

Version:
14 lines (13 loc) 428 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@graphql-mesh/utils"); const cli_js_1 = require("./cli.js"); globalThis.__VERSION__ = '1.4.0'; (0, cli_js_1.enableModuleCachingIfPossible)(); (0, cli_js_1.handleNodeWarnings)(); const log = new utils_1.DefaultLogger(); (0, cli_js_1.run)({ log }).catch(err => { log.error(err); process.exit(1); });