Thursday, 13 April 2017

NPM Package Loaded via File:/ Copies in .git folder into node_modules, even if it is listed in .npmignore

I am loading an npm package I have created locally that has its own .git folder into another project of mine, but it copies in my .git folder and my node_modules folder from the module when I install it. This results in Webpack build failures. How can I avoid this?

I am installing with Yarn. Does Yarn not honor.npmignores`?

.npmignore .git /node_modules



via Slapbox

No comments:

Post a Comment