Skip to content

Commit ec32b2a

Browse files
author
Ives van Hoorne
committed
Fix big bug
1 parent 75d7036 commit ec32b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sandbox/eval/js.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const compileCode = (code: string = '', moduleName: string = 'unknown') => {
3030
try {
3131
return transform(code, {
3232
presets: ['es2015', 'react', 'stage-0'],
33-
plugins: [asyncPlugin, restSpread, classProperties, transformRuntime],
33+
plugins: [asyncPlugin, restSpread, classProperties],
3434
retainLines: true,
3535
}).code;
3636
} catch (e) {

0 commit comments

Comments
 (0)