The UMD bundle in v1.3.1 can't be imported in a Node environment, because the Webpack boilerplate tries to access window.
Webpack 4 doesn't currently support a universal (node+web) target (webpack/webpack#6525), but the recommended workaround of overriding output.globalObject does the trick.
The UMD bundle in v1.3.1 can't be imported in a Node environment, because the Webpack boilerplate tries to access window.
Webpack 4 doesn't currently support a universal (node+web) target (webpack/webpack#6525), but the recommended workaround of overriding
output.globalObject
does the trick.