Skip to content

Commit b5233cc

Browse files
author
Ives van Hoorne
committed
Do decorators in babel first
1 parent 2d9e701 commit b5233cc

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
@@ -31,7 +31,7 @@ const compileCode = (code: string = '', moduleName: string = 'unknown') => {
3131
try {
3232
return transform(code, {
3333
presets: ['es2015', 'react', 'stage-0'],
34-
plugins: [asyncPlugin, restSpread, classProperties, decoratorPlugin],
34+
plugins: [decoratorPlugin, asyncPlugin, restSpread, classProperties],
3535
retainLines: true,
3636
}).code;
3737
} catch (e) {

0 commit comments

Comments
 (0)