From 461afe2eee25d6f9b9184d03de8934f44260d94b Mon Sep 17 00:00:00 2001 From: Brian Leishman Date: Sat, 21 Sep 2024 18:08:53 -0400 Subject: [PATCH] remove comment about not passing esbuild Sourcefile --- resources/resource_transformers/js/options.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/resource_transformers/js/options.go b/resources/resource_transformers/js/options.go index 8c271d032..e7f54778f 100644 --- a/resources/resource_transformers/js/options.go +++ b/resources/resource_transformers/js/options.go @@ -448,9 +448,6 @@ func toBuildOptions(opts Options) (buildOptions api.BuildOptions, err error) { Tsconfig: opts.tsConfig, - // Note: We're not passing Sourcefile to ESBuild. - // This makes ESBuild pass `stdin` as the Importer to the import - // resolver, which is what we need/expect. Stdin: &api.StdinOptions{ Contents: opts.contents, ResolveDir: opts.resolveDir,