kartsims / vue-cordova

Vue.js plugin for Cordova
http://kartsims.github.io/vue-cordova
328 stars 71 forks source link

.npmignore and /src #6

Closed strixy closed 7 years ago

strixy commented 7 years ago

.npmignore has /src in it ... I'm new here so maybe I'm missing something, but not having the /src folder makes for an interesting install.

kartsims commented 7 years ago

Hi @strixy

/src is in the .npmignore file, meaning that it won't be uploaded to npm, because they are source files, not necessary for the end-user. If you npm install vue-cordova you will just get the transpiled file (that contains the plugin files).

You can see that by reading the package.json file :

If you need more explanation, let me know !

strixy commented 7 years ago

That was great! Thank you very much.