NfNitLoop / deno-embedder

Dev tools for embedding files into Deno applications
Other
44 stars 4 forks source link

Doc differences with `deno compile --include` #18

Open NfNitLoop opened 5 days ago

NfNitLoop commented 5 days ago

I should update the README w/ how this compares to the newly-added --include option in deno compile.
See: https://github.com/denoland/deno/pull/26939 And: https://github.com/denoland/deno/issues/20885

I want to do some testing to make sure I'm understand how it works before I document things, but as it stands, it looks like the new --include option has some weaknesses vs. deno-embedder:

NfNitLoop commented 4 days ago

Yep, according to the blog post for 2.1 https://deno.com/blog/v2.1#embed-assets-files-in-deno-compile

Keep in mind that you can only include local files. Remote files are not supported.