How to create(compile) DIST folder of a installed library from github

Viewed 3740

I am trying to install a npm library directly from their github repo. The library is this:

https://github.com/zyra/ionic-image-loader

My Problem is that when I install directly the library with:

npm install --save git+https://github.com/zyra/ionic-image-loader

The node_modules folder is created but the DIST folder not. If I install directly from npm with:

npm install --save ionic-image-loader

The DIST folder is created correctly. I have already tried to execute on the root folder of the ionic project the command:

npm run build

But the DIST folder is not created.

What am I doing wrong?

0 Answers
Related