blob: de51fc5fc39591fb3a8db1874ba6fc50d93c855c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { chrome, fileURLToDirname } from '../../config/build-common.js';
import { getConfig } from '../../config/esbuild-config.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',
],
});
|