core evaluate now works without transpiler

This commit is contained in:
Felix Roos 2022-11-08 20:23:30 +01:00
parent 16659c82d2
commit 2c7cc5d325
4 changed files with 31 additions and 14 deletions

View file

@ -4,7 +4,7 @@ import { walk } from 'estree-walker';
import { isNote } from '@strudel.cycles/core';
export function transpiler(input, options = {}) {
const { wrapAsync = true, addReturn = true } = options;
const { wrapAsync = false, addReturn = true } = options;
let ast = parse(input, {
ecmaVersion: 2022,