UNPKG

@graphql-mesh/serve-cli

Version:
12 lines (11 loc) 351 B
#!/usr/bin/env node import { DefaultLogger } from '@graphql-mesh/utils'; import { enableModuleCachingIfPossible, handleNodeWarnings, run } from './cli.js'; globalThis.__VERSION__ = '1.4.0'; enableModuleCachingIfPossible(); handleNodeWarnings(); const log = new DefaultLogger(); run({ log }).catch(err => { log.error(err); process.exit(1); });