[quickjs-devel] Re: precompiled and/or builtin modules

  • From: Fabrice Bellard <fabrice@xxxxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Wed, 21 Aug 2019 16:20:04 +0200

It is not possible yet (shared libs are only supported for C modules). What is your use case ?

Best regards,

Fabrice.

On 8/21/19 2:58 PM, Mario Gliewe wrote:

Hi,

is there a way to use qjsc to precompile javascript modules, and use
them as shared libs?

Or, even better, register such precompilations as known/builtin modules
into the qjs binary?

I noticed the -M flag for qjsc, but couldn't quiet figure out what that
is for or how it works..

greets maG



Other related posts: