mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
* Replace cloudflare export condition with workerd * Add note about Cloudflare Vite plugin
9 lines
193 B
JavaScript
9 lines
193 B
JavaScript
import * as esbuild from 'esbuild'
|
|
|
|
await esbuild.build({
|
|
entryPoints: ['./src/index.mjs'],
|
|
bundle: true,
|
|
outfile: './dist/esbuild-cloudflare.js',
|
|
conditions: ['import', 'workerd'],
|
|
})
|