relay-plugin-handshake/build.js

10 lines
181 B
JavaScript

import esbuild from 'esbuild'
esbuild.buildSync({
entryPoints: ['src/index.ts'],
outfile: 'dist/handshake.js',
format: 'cjs',
bundle: true,
platform: "node"
})