cujojs / when

A solid, fast Promises/A+ and when() implementation, plus other async goodies.
Other
3.44k stars 396 forks source link

Resolving vertx dependency issues with webpack #510

Open trylaarsdam opened 3 years ago

trylaarsdam commented 3 years ago

What I’ve changed: In /lib/env.js, the vertx require statement now uses @vertx/core, which is the node package for vertx. This resolves an issue when using webpack (see #482) package.json has also been updated to include @vertx/core as a dependency.

o0101 commented 2 years ago

please merge, as the workaround involves:

new webpack.NormalModuleReplacementPlugin(
  /^vertx/,
  '@vertx/core',
)

And npm i --save-dev @vertx/core

from: https://stackoverflow.com/a/71458295/10283964