core evaluate now works without transpiler
This commit is contained in:
parent
16659c82d2
commit
2c7cc5d325
4 changed files with 31 additions and 14 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue