Skip to content

Commit e6abfd6

Browse files
mweststrateCompuIves
authored andcommitted
Fix plugin order to re-enable using decorators (codesandbox#154)
For example https://codesandbox.io/s/2vmzpM0wK is now broken. See also: mobxjs/mobx#1154 Fixes codesandbox#151
1 parent f6e1dca commit e6abfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sandbox/eval/transpilers/babel/babel-parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const DEFAULT_BABEL_CONFIG = {
88
plugins: [
99
'transform-async-to-generator',
1010
'transform-object-rest-spread',
11-
'transform-class-properties',
1211
'transform-decorators-legacy',
12+
'transform-class-properties',
1313
],
1414
};
1515

0 commit comments

Comments
 (0)