Skip to content

Commit 9627d71

Browse files
authored
fix: react-compiler-runtime should be cjs (facebook#31993)
1 parent 301a18a commit 9627d71

File tree

1 file changed

+1
-1
lines changed
  • compiler/packages/react-compiler-runtime/scripts

1 file changed

+1
-1
lines changed

compiler/packages/react-compiler-runtime/scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const config = {
2929
outfile: path.join(__dirname, '../dist/index.js'),
3030
bundle: true,
3131
external: ['react'],
32-
format: argv.p === 'browser' ? 'esm' : 'cjs',
32+
format: 'cjs',
3333
platform: argv.p,
3434
target: 'es6',
3535
banner: {

0 commit comments

Comments
 (0)