You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently bundling for Webpack environments / module environments is broken. In the Webpack build the library is build and transpiled - although in package.json it only points to the root (unstranspiled) /wpapi.js file. This is okay for most modern browsers as - only by chance - the features are supported.
Although this is not the case for Edge and IE11 both not supporting the object rest spread operator.
In summary the build is essentially broken for browsers environments - node works.
This long standing issue: #426 outlines the case with specific errors.