aspect-build / rules_esbuild

Bazel rules for https://esbuild.github.io/ JS bundler
https://docs.aspect.build/rules/aspect_rules_esbuild
Apache License 2.0
27 stars 27 forks source link

[Bug]: Esbuild doesn't correctly track dependencies #162

Open Exegetech opened 1 year ago

Exegetech commented 1 year ago

What happened?

This rule doesn't correctly track dependencies change. I renamed a file from src/Util.ts to src/util/index.ts and it failed to build.

Version

Development (host) and target OS/architectures: : Rock Linux 9.1 (Blue Onyx) x86_64

Output of bazel --version: 6.2.0

Version of the Aspect rules, or other relevant rules from your WORKSPACE or MODULE.bazel file: Indicated in the provided link of the repo

Language(s) and/or frameworks involved: JavaScript, TypeScript

How to reproduce

I have this repository to reproduce https://github.com/Exegetech/buggyesbuildproject

Any other information?

No response