add sourceType property
This commit is contained in:
parent
ce91f1869b
commit
b9ae556f9f
@ -39,6 +39,7 @@ exports.toToken = function (token) {
|
||||
};
|
||||
|
||||
exports.toAST = function (ast) {
|
||||
ast.sourceType = "module";
|
||||
traverse(ast, astTransformVisitor);
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user