We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0122c9 commit 4d656cfCopy full SHA for 4d656cf
src/fake-js.ts
@@ -175,7 +175,7 @@ export function createFakeJsPlugin({
175
t.numericLiteral(0),
176
...deps.map((dep) => t.arrowFunctionExpression([], dep)),
177
...(sideEffect
178
- ? [t.callExpression(t.identifier('sideEffect'), [])]
+ ? [t.callExpression(t.identifier('sideEffect'), [bindings[0]])]
179
: []),
180
]
181
const runtime: t.ArrayExpression = t.arrayExpression(elements)
0 commit comments