Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pnevares
· 8y ago · 0 comments
https://github.com/airbnb/react-dates/blob/master/package.js...
A devDependency is not the same as a dependency.
Comments
[–]
scottlecrab
8y ago
It's a dev dependency because they use it in unit tests but it's also a peer dependency, meaning that if you want to use the library you need to include moment.
[–]
pnevares
OP
8y ago
That's my error, thanks for the correction.