Skip to content

v0.12.13

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jul 06:22
  • Fix using JS synchronous API from from non-main threads (#1406)

    This release fixes an issue with the new implementation of the synchronous JS API calls (transformSync and buildSync) when they are used from a thread other than the main thread. The problem happened because esbuild's new implementation uses node's worker_threads library internally and non-main threads were incorrectly assumed to be esbuild's internal thread instead of potentially another unrelated thread. Now esbuild's synchronous JS APIs should work correctly when called from non-main threads.