Skip to content

Commit

Permalink
fixup conditions bug
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 8, 2023
1 parent d269fa5 commit ea5dbcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,10 @@ export async function cli (cmd: string | undefined, rawArgs: string[]) {
conditions.push('development');
if (opts.deno)
conditions.push('deno');
if (opts.node)
else if (opts.node)
conditions.push('node');
else
conditions.push('browser');

const inMapFile = getInMapFile(opts);
const outMapFile = getOutMapFile(inMapFile, opts);
Expand Down

0 comments on commit ea5dbcb

Please sign in to comment.