You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs (https://esbuild.github.io/api/#sources-content) list sourcesContent as a valid option for both transform and build but the code for the JS API defines sourcesContent only for build flags:
The docs (https://esbuild.github.io/api/#sources-content) list sourcesContent as a valid option for both transform and build but the code for the JS API defines sourcesContent only for build flags:
esbuild/lib/common.ts
Line 164 in 08ca8cf
This means esbuild will error when you specify
sourcesContent: false
for the transform API:Errors with:
The text was updated successfully, but these errors were encountered: