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
Right now webpackConfigHook only receives the current webpack config, which means if we need to use things like DefinePlugin, the caller has to import webpack directly. This may cause issues as the caller may wrongly use a webpack version different from the one used by @temporalio/worker.
Ideally, we can do something like this:
webpackConfigHook(config,webpack){// ... do something with webpack, such as config.plugins.push(newwebpack.DefinePlugin({'someValue': {},}))returnconfig}
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
Right now
webpackConfigHook
only receives the current webpack config, which means if we need to use things likeDefinePlugin
, the caller has to import webpack directly. This may cause issues as the caller may wrongly use a webpack version different from the one used by@temporalio/worker
.Ideally, we can do something like this:
The text was updated successfully, but these errors were encountered: