mirror of
https://github.com/gohugoio/hugo.git
synced 2025-01-28 22:20:54 +00: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,
|
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{
|
Stdin: &api.StdinOptions{
|
||||||
Contents: opts.contents,
|
Contents: opts.contents,
|
||||||
ResolveDir: opts.resolveDir,
|
ResolveDir: opts.resolveDir,
|
||||||
|
|
Loading…
Reference in a new issue