styled-components / polished

A lightweight toolset for writing styles in JavaScript ✨
https://polished.js.org/
MIT License
7.6k stars 209 forks source link

Polished "playground" on homepage doesn't work #631

Closed corymharper closed 1 year ago

corymharper commented 1 year ago

I'm actually not sure if this belongs here, but I don't know where else I would report it. On the homepage for the package (https://polished.js.org/) you are supposed to be able to open up your web console and test some of the methods of polished. However, in the most recent versions of Chrome and Firefox (probably other browsers as well but I have not confirmed) you just get an error in the console and the polished object the script creates is just an empty object.

What You Are Seeing

Uncaught TypeError: _wrapNativeSuper__default.default is not a function
    at polished.js:317:55
    at polished.js:4:78
    at polished.js:5:3

What You Expected To See

No error in the console, the polished object available in the console should have the methods of the polished library.

Reproduction

Go to https://polished.js.org/, open up the web console, and you'll see the error.