Skip to content

Commit 2bddba9

Browse files
committed
auto mode for returns default
1 parent 0b7d279 commit 2bddba9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/common/rollup.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export default (commandLineArgs) => {
2020
plugins: [
2121
json(),
2222
nodeResolve({ preferBuiltins: false, browser: true }),
23-
commonjs({}),
23+
commonjs({
24+
requireReturnsDefault: 'auto'
25+
}),
2426
inject({
2527
Buffer: ['buffer', 'Buffer'],
2628
ReadableStream: ['web-streams-polyfill/ponyfill', 'ReadableStream'],

0 commit comments

Comments
 (0)