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

Expose directly and indirectly modified files in between builds #3703

Open
cqiaoben2023 opened this issue Mar 18, 2024 · 0 comments
Open

Expose directly and indirectly modified files in between builds #3703

cqiaoben2023 opened this issue Mar 18, 2024 · 0 comments

Comments

@cqiaoben2023
Copy link

Hello! I think my use case could be handled by writing a custom script to analyze the dependency graph in metafile, but want to see if this is a common enough feature that was already requested/asked before, or could be handled more natively by esbuild:

Let's say I have three files:
File: foo.ts
import {bar1} from "bar1";
export const foo = bar1;

File: bar1.ts
import {bar2} from "bar2";
export const bar1 = bar2;

File: bar2.ts
export const bar2 = () => {
return "hello world";
}

Let's say I build it once and modify bar2 in bar2.ts afterwards. When I build it again, I would like to get all the files directly changed or indirectly changed through imported files: foo.ts, bar1.ts, bar2.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant