Skip to content

High performance self-hosted photo and video management solution.

333 B
Raw Blame
const esbuild = require('esbuild');

esbuild.build({
  entryPoints: ['src/index.ts'],
  outdir: 'dist',
  bundle: true,
  sourcemap: false,
  minify: false, // might want to use true for production build
  format: 'cjs', // needs to be CJS for now
  target: ['es2020'], // don't go over es2020 because quickjs doesn't support it
});