Search code examples
angularangular-cliangular-compilerangular-compiler-cli

How know if the Angular compiled /dist match with the source code in /src?


I have a compiled 'dist' folder and I want to know if it matches with the source code or is a different version. How can I do it?


Solution

  • Hacky solution would be to copy the dist folder into a git project, commit that folder, recompile copy that into the git folder and do a diff. If there is no diff it was from the source.