@samitouri / QOS-React-1 / commits / 9627d71c50

fix: `react-compiler-runtime` should be cjs (#31993)

Cody Olsen committed Jan 6, 2025 at 15:06 UTC 9627d71c5050c7665a44e499fc643acce8a8a5e4
1 file changed +1 -1
compiler/packages/react-compiler-runtime/scripts/build.js
+1 -1
@@ -29,7 +29,7 @@ const config = {
29 outfile: path.join(__dirname, '../dist/index.js'),
30 bundle: true,
31 external: ['react'],
32 - format: argv.p === 'browser' ? 'esm' : 'cjs',
32 + format: 'cjs',
33 platform: argv.p,
34 target: 'es6',
35 banner: {