blob: b73a071a5ebbe5fe32e41c5d7facaf6c273f7958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { chrome } from '../../config/buildConstants.js';
import { getConfig } from '../../config/esbuildConfig.js';
import { fileURLToDirname } from '../../config/utils.js';
export default getConfig({
absWorkingDir: fileURLToDirname(import.meta.url),
entryPoints: [
'src/index.ts',
],
outfile: 'dist/index.cjs',
format: 'cjs',
platform: 'node',
target: chrome,
sourcemap: 'inline',
external: [
'electron',
],
});
|