Closed camillef closed 2 years ago
Interesting, thanks for reporting! Is this something you can raise a pull request for? If there is a change you can make to the project to fix this, I'll happily merge it and publish a new version of this library.
Is this something you can raise a pull request for?
Yup! Done here: https://github.com/dlevs/duration-fns/pull/29
When importing this library in an app using Create React App v5,
npm start
throws up a bunch of the following errorsAccording to https://github.com/facebook/create-react-app/discussions/11767 this is because duration-fns is not correctly including sourcemaps in its npm package