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 ab22ee4 commit 9321611Copy full SHA for 9321611
packages/app/src/sandbox/eval/transpilers/babel/worker/get-require-statements.js
@@ -21,6 +21,7 @@ export default function getRequireStatements(metadata) {
21
s.callee.property.name === 'concat' &&
22
s.arguments &&
23
s.arguments[0] &&
24
+ s.arguments[0].left &&
25
s.arguments[0].left.type === 'BinaryExpression' &&
26
s.arguments[0].left.left.type === 'StringLiteral'
27
) {
0 commit comments