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
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
fix: configure webpack to not use esmodules in dependencies
Big.js just released an update that added esmodule support by adding a "module" field to their package.json. By default, webpack will use this field when requiring a module. Since esmodules aren't fully supported in the browser and we don't do any transpiling this PR configures webpack to not consider the esmodule field.
[Webpack `mainFields` docs](https://webpack.js.org/configuration/resolve/#resolve-mainfields)
[Why `require('big.js')` is broken for us](webpack/webpack#4742)
Fixes#1363
License: MIT
Signed-off-by: Alan Shaw <[email protected]>
0 commit comments