babel/generator-babel-boilerplate

Exclude /src directory from npm package by default?

Closed this issue · 2 comments

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

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

K, cool. Easy enough to add in manually (1 line change!) if folks want.