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 authored and MichaelDeBoey committed Aug 3, 2022
1 parent 1b1d12b commit 24ccb22
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 24ccb22

Please sign in to comment.