diff --git a/src/cli.ts b/src/cli.ts index 1d0e04150..cf5a21c4e 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -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);