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
Thanks for your amazing job! I'm really inspired with esbuild and trying to integrate it into a jest transform to optimize our unit-testing pipeline.
If you'll try to build an in-memory write: false bundle synchronously esbuild fails with
write: false
spawnSync .../node_modules/esbuild/bin/esbuild ENOBUFS
Unfortunately jest supports only sync transformers so it's not an option to switch to an async API (which acutally works just fine). My build config:
const { buildSync } = require('esbuild'); module.exports = { process(content, filename) { const { outputFiles } = buildSync({ entryPoints: [filename], bundle: true, loader: { '.js': 'jsx', '.tsx': 'tsx', '.scss': 'text', }, platform: 'node', format: 'cjs', target: 'es2019', write: false, }); // ... }, };
The text was updated successfully, but these errors were encountered:
c7e2ae0
Thanks so much for reporting this. This should be fixed in version 0.5.23.
Sorry, something went wrong.
No branches or pull requests
Thanks for your amazing job! I'm really inspired with esbuild and trying to integrate it into a jest transform to optimize our unit-testing pipeline.
If you'll try to build an in-memory
write: false
bundle synchronously esbuild fails withUnfortunately jest supports only sync transformers so it's not an option to switch to an async API (which acutally works just fine).
My build config:
The text was updated successfully, but these errors were encountered: