Skip to content

Commit 4d7e171

Browse files
shirohanaForbesLindesay
authored andcommitted
Enable AST explicitly (#48)
1 parent eb76ab2 commit 4d7e171

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/utils/parse.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {transform} from 'babel-core';
66
export default function parse(src: string, context: Context): Array<Statement> {
77
try {
88
return transform(src, {
9+
ast: true,
910
babelrc: false,
1011
code: false,
1112
parserOpts: context.file.parserOpts,

0 commit comments

Comments
 (0)