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