Using http://valor-software.com/ng2-charts/ I must add a
script tag in my index for:
However, because the scope of the app does not see
node_modules, I have to do:
Which is awful.
Is there a way to add a JS file to the build?
- No, using
importdoes not work in this case as it is needed as a global variable (the library is built that way)