Skip to content

Commit

Permalink
interop 'esModule'
Browse files Browse the repository at this point in the history
  • Loading branch information
ymqy committed Jan 31, 2023
1 parent 7e08a9d commit afe4303
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-dom/src/test-utils/FizzTestUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function getRollupResult(scriptSrc: string): Promise<string | null> {
output: {
externalLiveBindings: false,
freeze: false,
interop: 'auto',
interop: 'esModule',
exports: 'auto',
esModule: false,
},
Expand Down
4 changes: 2 additions & 2 deletions scripts/rollup/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function getRollupOutputOptions(
format,
globals,
freeze: !isProduction,
interop: 'auto',
interop: 'esModule',
exports: 'auto',
name: globalName,
sourcemap: false,
Expand Down Expand Up @@ -600,7 +600,7 @@ async function createBundle(bundle, bundleType) {
output: {
externalLiveBindings: false,
freeze: false,
interop: 'auto',
interop: 'esModule',
exports: 'auto',
esModule: false,
},
Expand Down

0 comments on commit afe4303

Please sign in to comment.