Skip to content

Commit f134319

Browse files
subframe7536Copilot
andcommitted
todo
Co-authored-by: Copilot <copilot@github.com>
1 parent 8e5bf31 commit f134319

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/multi-env.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export type MultiEnvElectronOptionsRecord = Record<
4848
export 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,

0 commit comments

Comments
 (0)