#Can I use Workers in an executable ?

1 messages · Page 1 of 1 (latest)

fast hinge
#

Everything is in the questions, on the doc site, it is mention that we can't use Workers when creating executable, but then on the page executable, it says that we need to use the --include option in order to add the worker code to the executable.
So what is the state of the Workers inside an executable with Deno actually ?

snow burrow
#

it used to be that you couldn't use workers, but now you can if you pass the --include flag with the worker scripts you will use

#

I guess the documentation is stale on that

fast hinge
#

yeah I did the test and it worked so perfect, it was the only thing that prevent me to go the Deno path. And Bun is way too eraly stage, it's clearly not a 1.0 😅
So thx for your answer 😉