Wills Bithrey p.ota.to |
--
---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/5f694893-4eab-49d6-a3b6-caa1ca4ef01dn%40googlegroups.com.
1. Use my new utility https://github.com/chadkillingsworth/closure-calculate-chunks. It will provide the source files in order that can be handed directly to the gulp src function. You would do this as a pre-build step and this is exactly how I use it.
2. Over specify the files in the gulp src glob and specifically include the package.json files. If you utilize the dependency management flags of the compiler, src files not referenced will be completed dropped from the compilation. This works better than you would expect.
Hope that helps.