mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fix: react-compiler-runtime should be cjs (#31993)
This commit is contained in:
1 parent
301a18a6af
commit
9627d71c50
1 file changed
+1
-1
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user