Hey Chris, Chris Lamb [2017-07-28 7:56 +0100]: > > That's only for the bundled JavaScript modules. > > I don't have the package in front of me right now but I think > the other issue was that d/copyright was mentioning .JS but in > the wrong location (node_modules/ vs. dist/ IIRC). Again this > is from memory so disregard if I'm wrong :)
It's not wrong - node_modules/ has the original modules (i. e. preferred form of modification). The topmost comment in d/copyright tries to explain this: This does not directly cover the files in dist/*. These are "minified" and compressed JavaScript/HTML files built from pkg/* and node_modules/* with node, npm, and webpack. Their copyrights and licenses are described below. Rebuilding these requires internet access as that process needs to download additional npm modules from the Internet, thus upstream ships the pre-minified webpacks as part of the upstream release tarball so that the package can be built without internet access and lots of extra unpackaged build dependencies. The upstream tarballs ship dist/ it to relieve downstreams from having to build-depend on and call webpack during the package build (unless they want to patch). So its similar to pre-generated PDF documentation or autotools Makefiles. If that's unclear, I'm happy to improve the wording? Thanks, Pitti