blob: 76ac33f3218b8c166169dd02032c2f06babb52ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// @ts-check
const { chrome } = require('../../config/build-common');
const { getConfig } = require('../../config/esbuild-config');
module.exports = getConfig({
absWorkingDir: __dirname,
entryPoints: [
'src/index.ts',
],
outfile: 'dist/index.cjs',
format: 'cjs',
platform: 'node',
target: chrome,
sourcemap: 'inline',
external: [
'electron',
],
});
|