use new transpiler in vite-vanilla-repl

This commit is contained in:
Felix Roos 2022-11-08 19:50:27 +01:00
parent 9b2899c8fb
commit 4ed3ca4128
9 changed files with 74 additions and 62 deletions

View file

@ -9,6 +9,7 @@ export function transpiler(input, options = {}) {
let ast = parse(input, {
ecmaVersion: 2022,
allowAwaitOutsideFunction: true,
// locations: true,
});
walk(ast, {