Yup: Publish ESM modules

Created on 14 Sep 2018  路  6Comments  路  Source: jquense/yup

I'd love to consume this package as an ESM module, so that I can only import the validator functions that I need.

I see that a Rollup configuration is present, but it doesn't seem to actually be used -- the dist folder with the CJS and ESM builds is not published. The only thing published is a lib directory that the Babel CLI produces.

Is there a reason for this? If not, I would be happy to update the build scripts, etc. to publish the dist directory that Rollup produces instead.

Most helpful comment

I just haven't finished the work to do it yet. Happy to take a contribution adding it

All 6 comments

I just haven't finished the work to do it yet. Happy to take a contribution adding it

Related to #221

Any updates on it?

nope

Is this going to happen?

maybe!

Was this page helpful?
0 / 5 - 0 ratings