you are comparing the source with the minified version You can find all minified versions as an npm package right here: https://www.npmjs.com/package/@podlove/podlove-web-player That is also what is consumed by the Podlove Publisher.
well… yes? Not in the diff-way, but in the functional one.
I know minification as a way to remove whitespaces, comments, shorten variable names, etc. Take for example JQuery: Their uncompressed and compressed versions are identical logicwise. I can take code using the minified version, replace the file with the uncompressed variant and - besides a slightly larger file - the program works the same.
For Podlove we’ve got a minified file named “window.js” containing 680KB of code. The only source mentioned on github is also named “window.js” but is only 70B - without minification.
So for me it looks like this is either not the source used to generate the final file or there is some additional compiling beforehand.
I hoped there would be a unminified but complete version available, just as for other projects named above, saving the hassle of following a seemingly endless recursion of includes.
The Webplayer is built with VueJS. Modern Web applications featuring React, Angular or any kind of SPA framework using bundlers like webpack. An SPA like the Player is constructed from around 100 files. Requesting ~100 files is not performant, therefore it is bundled to 6 different files (potentially more in the next releases). So the source code and the bundling logic is right here: https://github.com/podlove/podlove-web-player/