INNER CODE UNIT · JavaScript

build

jasonjmcghee/claude-debugs-for-you · mcp/build.js:10

async function build() {
  // First build the bundle
  await esbuild.build({
    entryPoints: ['src/index.ts'],
    bundle: true,
    platform: 'node',
    target: 'node20',
    outfile: 'build/index.js',
    minify: true,
    sourcemap: true,
    external: [],
    format: 'cjs',
    banner: {
      js: '#!/usr/bin/env node',
    },
    loader: { '.ts': 'ts' },
    tsconfig: 'tsconfig.json',
  });

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…