File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export type MultiEnvElectronOptionsRecord = Record<
4848export function simpleOptions ( options : MultiEnvElectronOptionsRecord ) : MultiEnvElectronOptions [ ] {
4949 const esmodule = checkESModule ( )
5050 const fileExt = esmodule ? 'mjs' : 'js'
51- // todo)) extract common options from `electronSimple ` instead of creating manually
51+ // todo)) extract common options from `src/simple.ts ` instead of creating manually
5252 return Object . entries ( options ) . map ( ( [ name , { options, ...rest } ] ) => {
5353 switch ( name ) {
5454 case 'main' :
@@ -140,6 +140,7 @@ export default function electron(
140140 const envCfg = mergeConfig < EnvironmentOptions , EnvironmentOptions > (
141141 {
142142 consumer : 'server' ,
143+ // todo)) extract common options from `src/index.ts` instead of creating manually
143144 build : {
144145 outDir : 'dist-electron' ,
145146 emptyOutDir : false ,
You can’t perform that action at this time.
0 commit comments