deno-embedder icon indicating copy to clipboard operation
deno-embedder copied to clipboard

ESBuild Plugin: Can't bundle static files

Open NfNitLoop opened this issue 1 year ago • 0 comments

Since v1.2.1, I switched to using https://github.com/lucacasonato/esbuild_deno_loader to download/cache Deno dependencies.

However, that plugin has an issue bundling non-code sources:

  • https://github.com/lucacasonato/esbuild_deno_loader/issues/129

Workaround:

Until then, keep code and non-code assets in separate directories (like in the example), and disable the bundleRemoteSources option if you need to use the ESBuild plugin on non-script resources.

NfNitLoop avatar May 24 '24 21:05 NfNitLoop