Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Aug 6, 2023
1 parent 7efc1d2 commit 1b25d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function buildSwcTransformOpts(swcOptions: (Options & { experimental?: unknown }
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { experimental, ...computedSwcOptions } = swcOptions || (getOptionsFromSwrc() as Options & { experimental?: unknown })

if (!computedSwcOptions.jsc?.target) {
if (!computedSwcOptions.env && !computedSwcOptions.jsc?.target) {
set(
computedSwcOptions,
'jsc.target',
Expand Down

0 comments on commit 1b25d3e

Please sign in to comment.