We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using an esbuild config with file loaders, the result.outputFiles may contain files other than the sourcemap and resulting js.
result.outputFiles
This causes an error here
karma-esbuild/src/bundle.ts
Lines 153 to 154 in bcf9982
The text was updated successfully, but these errors were encountered:
Do you have an example of how to reproduce this? I'm not sure what file loader you're referencing.
Sorry, something went wrong.
I meant this one https://esbuild.github.io/content-types/#external-file
So you could do
import url from "./somefile.txt";
and configure esbuild with
require('esbuild').buildSync({ entryPoints: ['app.js'], bundle: true, loader: { '.txt': 'file' }, outdir: 'out', })
and it should output both the bundle and the .txt file into out
out
No branches or pull requests
When using an esbuild config with file loaders, the
result.outputFiles
may contain files other than the sourcemap and resulting js.This causes an error here
karma-esbuild/src/bundle.ts
Lines 153 to 154 in bcf9982
The text was updated successfully, but these errors were encountered: