Open ergo opened 6 years ago
For us adding window.
before the line that breaks, worked
https://github.com/vientos/polymer-redux/commit/9af81f5ba0adb4e904287e1165bd4224b629c8c9
You should try https://github.com/tur-nr/polymer-redux/tree/polymer-3 because it was changed to not be in global scope anymore and to be a pure ES6 module.
Hello, I'm trying to use
polymer-redux
with webpack, but currently it seems that library assumes that it will be defined in global scope, I can't figure out how to shim the element in/dist
.Would it be possible to maybe provide contents of element in pure js file instead of script or add required exports?