Closed Artur- closed 4 years ago
My problem originates in https://github.com/dmonad/lib0/blob/master/random.js#L36 which uses the crypto
module when running on Node and something else in the browser. With this plugin however, lib0
cannot be used.
The real code that fails is something like
import { uint32 } from 'lib0/random.js';
console.log(uint32)
It looks like this may have been the same or similar root cause as this issue in #51, as I can't reproduce your error in 2.3.3
. Let me know if you're still seeing errors after upgrading.
Closing this due to inactivity.
Thanks, fails with 2.3.1 and works with 2.3.3
Trying to use
when the plugin is included in a webpack build results in
To reproduce:
If you remove the
BabelMultiTargetPlugin
,webpack
finishes successfully