You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ronaldtse From my preliminary research, Bun does not seem to have a way of creating & running a module from a string in a given context. There may be other potential way (e.g., a dynamic import at runtime, which I didn’t get to work in Node).
Note that we need 1) to run some code that was compiled at runtime 2) in some specific context (allow it to import certain things).
Currently, anafero-cli wraps anafero through npx & NodeJS. We could possibly do this with Bun.
The wrapper is generally straightforward, except the part of compiling & running adapters.
Currently, Node-based wrapper uses:
See dependencies.mts for Node-based implementation.
The text was updated successfully, but these errors were encountered: