mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
remove comment about not passing esbuild Sourcefile
This commit is contained in:
parent
a5b287caaa
commit
461afe2eee
1 changed files with 0 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue