Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Provide commonjs version #2

Closed
just-boris opened this issue May 7, 2019 · 3 comments
Closed

Provide commonjs version #2

just-boris opened this issue May 7, 2019 · 3 comments
Assignees

Comments

@just-boris
Copy link

Thank you for the wonderful library, it is a really handy utility!

However, currently it is hard to integrate this into an project, because it ships only es-modules version. In particular, it causes problems with Jest, that does not have es-modules support. (esm also does not work).

Currently I have to work it around via running Babel for node_modules (recommended here standard-things/esm#706 (comment)), which has its own set of problems.

Most of the npm-modules, still ship commonjs version, so mnth is one of the few causing this issue.

@deepsweet
Copy link
Owner

I've removed ESM loader from all my libs recently and just forgot about mnth. Will be definitely fixed.

@deepsweet deepsweet self-assigned this May 7, 2019
@deepsweet
Copy link
Owner

Landed with v0.1.2

@just-boris
Copy link
Author

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants