First you will need to acquire a source code license. But I should repeat what that page also says: that most programmers do not achieve significant space savings because they only do rudimentary operations such as tree-shaking. In fact I would guess that most developers end up increasing the size of the delivered code, despite the reduced functionality that is shipped, because they don’t use advanced techniques to minimize the code.
So, what you are basically saying is don’t even bother?
As stated above our largest package is gojs and it is not one of our main product pilars, although it is necessary for some internal features.
Is there an option to load gojs from a cdn or similar?
Only bother if you care enough to really minify well.
Yes there are several CDNs. Lately I have been using unpkg.com. For example, depending on what you want: https://unpkg.com/gojs https://unpkg.com/[email protected] https://unpkg.com/[email protected] https://unpkg.com/gojs/release/go-module.js https://unpkg.com/gojs/release/go-debug.js