-
Notifications
You must be signed in to change notification settings - Fork 932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UMD build #100
Comments
@jquense would you merge a PR that updates tooling with Rollup and adds this? |
Sure! |
I need this badly as well. Please build a UMD that can be accessed via https://unpkg.com/. |
Some initial thoughts on resolving this issue:
diff --git a/rollup.config.js b/rollup.config.js
index 442db4e..ae8c725 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -38,6 +38,11 @@ module.exports = [
file: 'dist/yup.esm.js',
format: 'es',
},
+ {
+ file: 'dist/yup.umd.js',
+ format: 'umd',
+ name: 'Yup',
+ },
],
plugins: [...base.plugins, filesize()],
},
What else might be involved here? Interested in helping resolve this. |
Why was this issue closed? We're also looking for a UMD build of Yup, and there seem to be people interested in helping out adding support for this? |
This is still very much relevant 👍 |
Selfishly want this for forthcoming Formik docs site.
The text was updated successfully, but these errors were encountered: