Skip to content

Commit afe4303

Browse files
committed
interop 'esModule'
1 parent 7e08a9d commit afe4303

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-dom/src/test-utils/FizzTestUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function getRollupResult(scriptSrc: string): Promise<string | null> {
3838
output: {
3939
externalLiveBindings: false,
4040
freeze: false,
41-
interop: 'auto',
41+
interop: 'esModule',
4242
exports: 'auto',
4343
esModule: false,
4444
},

scripts/rollup/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function getRollupOutputOptions(
186186
format,
187187
globals,
188188
freeze: !isProduction,
189-
interop: 'auto',
189+
interop: 'esModule',
190190
exports: 'auto',
191191
name: globalName,
192192
sourcemap: false,
@@ -600,7 +600,7 @@ async function createBundle(bundle, bundleType) {
600600
output: {
601601
externalLiveBindings: false,
602602
freeze: false,
603-
interop: 'auto',
603+
interop: 'esModule',
604604
exports: 'auto',
605605
esModule: false,
606606
},

0 commit comments

Comments
 (0)