Open jmfrancois opened 3 years ago
The latest version (4.1.1) tries to require babel-runtime helpers too. Would be awesome if those were just inlined within the UMD build. 🙏
https://unpkg.com/browse/polished@4.1.1/dist/polished.js
It appears that 3.6.0 has the same issue.
polished
version: 3.6.0What You Are Seeing
I see global variable for package that do not exists in UMD. It exists since 3.6.0 version. 3.5.2 is working well:
You can just look at the signature on the first 4 lines
This seems to have been introduced by #7886d942b03ba452be4926a8d566ff67c4ac4161
What You Expected To See
I exepct to see only umd dependencies that exists in UMD.
And a chapter on the README explaining how to setup a script tag to use this umd build it in the browser.