Closed ek9 closed 7 years ago
What do you mean by "regular install"?
When npm publishes the distributable package for this, it will exclude development related files from distribution archive. In short, the files in .gitattributes
will be excluded from the release.
More info on .gitattributes
:
This will not affect a regular clone via git or anything like that, merely used when to cleanup files that do not need to be part of packaged release archive (development related files).
I do believe the package.json
files
property take care of that already.
Oh I see, then this is redundant. Closing.
add non-distributable (dev) files to gitattributes so they are ignored on regular install