mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
fix: react-compiler-runtime should be cjs (#31993)
This commit is contained in:
@@ -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