You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

esbuild.renderer.config.ts 284B

123456789101112
  1. import { BuildOptions } from 'esbuild'
  2. import path from 'path'
  3. const config: BuildOptions = {
  4. platform: 'browser',
  5. entryPoints: [path.resolve('src/renderer/index.tsx')],
  6. bundle: true,
  7. target: 'chrome94', // electron version target
  8. sourcemap: true,
  9. }
  10. export default config