tommie / v8go

Execute JavaScript from Go (a fork of rogchap.com/v8go)
https://github.com/tommie/v8go
BSD 3-Clause "New" or "Revised" License
50 stars 4 forks source link

[ASK] Support `export` #64

Open ad3n opened 1 week ago

ad3n commented 1 week ago

Is this fork support export keyword?

tommie commented 1 week ago

No.

v8go doesn't support ES modules (it calls ScriptCompiler::Compile, but never ScriptCompiler::CompileModule.)

To elaborate: module support would be great, but it also means having to add an interface to do import resolution. It seems no one has wanted it bad enough yet.