Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ts_project with esbuild with transpiler enabled produced stale build #449

Open
Exegetech opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Exegetech
Copy link

Exegetech commented Sep 13, 2023

What happened?

When ts_project is used with transpiler and the outputs be made available to esbuild, it results in stale build. The code changes are not reflected in the final compiled bundle.

What I expect: it should build correctly.

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, React

How to reproduce

I have a repo to reproduce it here https://github.com/Exegetech/buggytsproject

Any other information?

No response

@Exegetech Exegetech added the bug Something isn't working label Sep 13, 2023
@github-actions github-actions bot added the untriaged Requires traige label Sep 13, 2023
@alexeagle
Copy link
Member

I suspect this was aspect-build/rules_esbuild#58 - which is just recently fixed. Could you confirm if that fixes it for you pls @Exegetech ?

@alexeagle alexeagle removed the untriaged Requires traige label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants