Build the output files as a UMD module#216
Build the output files as a UMD module#216gpbl merged 2 commits intogpbl:masterfrom pguimera:umd-module
Conversation
gpbl
left a comment
There was a problem hiding this comment.
Awesome, thanks! Does this mean we can directly call the package from https://unpkg.com as well? 😃
.gitignore
Outdated
| _book | ||
| lib | ||
| _site | ||
| .idea |
There was a problem hiding this comment.
If you don't mind I'd skip this change, as it's not related to the source code :)
package.json
Outdated
| { | ||
| "name": "react-day-picker", | ||
| "version": "2.4.1", | ||
| "version": "2.4.2", |
There was a problem hiding this comment.
I'd prefer to cut a minor release (hence 2.5.0)
|
I've cleaned the history a bit whilst applying the suggested changes. Also, in regards to the https://unpkg.com integration there's additional steps to be made (based from this changes) which are specified in the |
|
Thanks a lot! I'll work on the unpkg thing before releasing on npm. |
|
Hey @pguimera, I've published v2.5.0. It works now from unpkg as well 🙌 |
|
Awesome news @gpbl, thanks for that. I can now use this amazing library in my project without having to do weird tricks in my tooling 😄 |
As the title says, I've updated webpack's output to build the file as a UMD module to improve the library's compatibility when using the built file directly.