Currently deps must always be direct deps. It could be useful to define a form of dependency that means depend on this file and everything it statically imports via eg JS analysis / CSS import analysis etc.
We have es-module-lexer in Rust to use for this.
One way to do this might be to define deps = ["^lib/app.js"] where eg the ^ leading symbol implies deps analysis to form the deps expansion into a flat deps = ["lib/app.js", "lib/dep.js"] underneath.
Currently
deps
must always be direct deps. It could be useful to define a form of dependency that means depend on this file and everything it statically imports via eg JS analysis / CSS import analysis etc.We have es-module-lexer in Rust to use for this.
One way to do this might be to define
deps = ["^lib/app.js"]
where eg the^
leading symbol implies deps analysis to form the deps expansion into a flatdeps = ["lib/app.js", "lib/dep.js"]
underneath.