I am trying to use the closure compiler to perform a static type check for my project, but I cannot get the compiler to recursively pass through all the necessary files. When i do
ccjs app.js
it will compile app.js, instead of trying to resolve all the necessary files and check if there is any type error when calling the functions in the required module. How can I compile the entire node.js project with a closure compiler to check the static type? If not, are there any alternatives for this?
source
share