Exclude /src directory from npm package by default?
Closed this issue · 2 comments
jamesplease commented
Should the src directory be excluded from the npm package?
Pros:
- quicker downloads for consumers
Cons
- consumers can't go into node_modules to see the source. Is that a problem? Not sure.
//cc @megawac @paulfalgout
megawac commented
The main disadvantage IMO is for people trying to build the src/ files themselves using tooling such as webpack or rollup (I've done this for a couple projects). I'd say no, don't ignore by default
jamesplease commented
K, cool. Easy enough to add in manually (1 line change!) if folks want.