Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESBuild Plugin: Can't bundle static files #10

Open
NfNitLoop opened this issue May 24, 2024 · 0 comments
Open

ESBuild Plugin: Can't bundle static files #10

NfNitLoop opened this issue May 24, 2024 · 0 comments

Comments

@NfNitLoop
Copy link
Owner

NfNitLoop commented May 24, 2024

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:

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 NfNitLoop changed the title Can't bundle static files ESBuild Plugin: Can't bundle static files May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant