sindresorhus / ow

Function argument validation for humans
https://sindresorhus.com/ow/
MIT License
3.81k stars 108 forks source link

dist directory is not correctly generated #143

Closed SamVerschueren closed 5 years ago

SamVerschueren commented 5 years ago

I noticed that currently the dist directory is generated incorrectly, probably due to some changes that were made regarding directory structure etc.

This is what the dist directory looks like at the current released version image

This is what it looks like right now image

Which doesn't align with what's defined in package.json

"main": "dist/source",
"types": "dist"

Either it should be the other way around, or just generate the files in the dist directory all together.

I was working on something else when I noticed this and was able to fix it there. So I'll do a PR later today probably.