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

This commit is contained in:
Cody Olsen
2025-01-06 15:06:09 +01:00
committed by GitHub
parent 301a18a6af
commit 9627d71c50

View File

@@ -29,7 +29,7 @@ const config = {
outfile: path.join(__dirname, '../dist/index.js'),
bundle: true,
external: ['react'],
format: argv.p === 'browser' ? 'esm' : 'cjs',
format: 'cjs',
platform: argv.p,
target: 'es6',
banner: {