aspect-cli icon indicating copy to clipboard operation
aspect-cli copied to clipboard

[Bug]: [gazelle] package.json required in ts_project(srcs) for esm .js imports

Open jbedard opened this issue 1 year ago • 0 comments

Typescript looks at the parent package.json module type to determine imports are handled. Gazelle should detect this and put package.json into ts_project(srcs).

See https://www.typescriptlang.org/docs/handbook/modules/reference.html#module-format-detection

jbedard avatar Jul 17 '24 02:07 jbedard