Having an issue when using this lib on production IE11 with webpack and babel, the class keyword isn't transpiled and throws a syntax error. Was able to fix this by forking the repo, removing the module specifier in package.json, and running the lib through babel.
Here you can see a screenshot from the production bundle with the offending classes highlighted, which corresponds to the module code in the main entry point.
Having an issue when using this lib on production IE11 with webpack and babel, the
class
keyword isn't transpiled and throws a syntax error. Was able to fix this by forking the repo, removing themodule
specifier inpackage.json
, and running the lib through babel.Here you can see a screenshot from the production bundle with the offending
class
es highlighted, which corresponds to the module code in the main entry point.