Hacker News new | past | comments | ask | show | jobs | submit login

For a large application, I wonder if you could configure Closure to output multiple files.. Maybe libraries and such in one file and client code in another? I would imagine you could at least split the code there.



Yes, Closure Compiler can be made to generate multiple files in this way. IIRC you can give it multiple entrypoints and it will generate files with the code unique to each entrypoint, plus one with the shared code.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: