presta
Version:
Hyper minimal framework for the modern web.
16 lines (13 loc) • 347 B
JavaScript
const path = require('path')
const pkg = require('../package.json')
require('esbuild').buildSync({
entryPoints: ['lib/cli.ts', 'lib/index.ts'],
outdir: path.join(__dirname, '..'),
bundle: true,
minify: true,
platform: 'node',
target: 'node12',
sourcemap: 'inline',
external: Object.keys(pkg.dependencies),
logLevel: 'info',
})