Skip to content

Commit

Permalink
chore: toggle on jsxDev for "development" and "test"
Browse files Browse the repository at this point in the history
  • Loading branch information
mcansh committed Jul 28, 2022
1 parent af7a0ee commit 6fd0355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/remix-dev/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ async function createBrowserBuild(
),
},
jsx: "automatic",
jsxDev: options.mode === BuildMode.Development,
jsxDev: options.mode !== BuildMode.Production,
plugins,
});
}
Expand Down Expand Up @@ -471,7 +471,7 @@ function createServerBuild(
),
},
jsx: "automatic",
jsxDev: options.mode === BuildMode.Development,
jsxDev: options.mode !== BuildMode.Production,
plugins,
})
.then(async (build) => {
Expand Down

0 comments on commit 6fd0355

Please sign in to comment.