Hacker News new | ask | show | jobs
by pabs3 288 days ago
Just think about the goals of the GPL (software freedom for users), and its easy to see what you should do. Make it practical for a user to obtain and modify the source form (non-minified, non-transpiled, non-concatenated TypeScript/JavaScript/etc) of the library, build the version ran by the web browser, and replace the original with their modified version. Source maps can make part of that easier too. Progressive enhancement helps. Clean frontend/backend separation helps.
1 comments

The "goals" of the license are irrelevant. What matters from a legal perspective is the text of the license, and every time that text sets legal conditions which reference specific technologies like "linking", "object code", or "interface definition files" which don't apply to all programming languages, a lawyer's blood pressure rises.
Intent is relevant in law, especially when text is insufficient to determine a clear meaning.