Starting at version 1.9, developer edition of Experience Builder now supports overriding the webpack config of your custom widget.
To do this, simply place your override logic in client/webpack/widget-webpack-override.js
. In the exported function in this file, the default webpack config object is passed in as an input parameter, and you can modify then return this object.