fix: shove prebake eval out of react

This commit is contained in:
Felix Roos 2026-02-13 13:40:51 +01:00
parent 29a3543918
commit c16b300144
No known key found for this signature in database
3 changed files with 11 additions and 19 deletions

View file

@ -2,4 +2,4 @@ import { evaluate as _evaluate } from '@strudel/core';
import { transpiler } from './transpiler.mjs';
export * from './transpiler.mjs';
export const evaluate = (code) => _evaluate(code, transpiler);
export const evaluate = (code, transpilerOptions) => _evaluate(code, transpiler, transpilerOptions);