Skip to content

Commit 6076161

Browse files
committed
fix: browser-action preload not using cjs
1 parent fe04832 commit 6076161

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/electron-chrome-extensions/esbuild.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const browserActionPreloadConfig = createConfig({
3737
entryPoints: ['src/browser-action.ts'],
3838
outfile: 'dist/cjs/browser-action.js',
3939
platform: 'browser',
40+
format: 'cjs',
4041
external,
4142
sourcemap: false,
4243
})

0 commit comments

Comments
 (0)