Y
Hacker News
new
|
ask
|
show
|
jobs
by
pnevares
2832 days ago
https://github.com/airbnb/react-dates/blob/master/package.js...
A devDependency is not the same as a dependency.
1 comments
scottlecrab
2832 days 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.
link
pnevares
2829 days ago
That's my error, thanks for the correction.
link