Closed witek closed 2 years ago
Hi @witek, thank you for the comment. For loading the library, see document: https://anseki.github.io/leader-line/#usage If you want to import the library, use a packer such as Webpack. For example: https://github.com/anseki/leader-line/issues/199
LeaderLine is not usable as a "real" npm module with
require()
because it does not export itself properly.Solution would be to add the following as the last line of the source code: