Skip to content

Commit

Permalink
[Lexical] Use classic mode for jsx runtime for meta build (#6134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahejkm authored May 18, 2024
1 parent ea93288 commit cf6b9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async function build(name, inputFile, outputPath, outputFile, isProd, format) {
tsconfig: path.resolve('./tsconfig.build.json'),
},
],
['@babel/preset-react', {runtime: 'automatic'}],
['@babel/preset-react', {runtime: isWWW ? 'classic' : 'automatic'}],
],
}),
{
Expand Down

0 comments on commit cf6b9ef

Please sign in to comment.