fix: shove prebake eval out of react
This commit is contained in:
parent
29a3543918
commit
c16b300144
3 changed files with 11 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue