cli-bundler uses gulp tasks which can be adjusted easily to run plugin and write out plugin dist files. For webpack you can try resolve
doc for some module resolution https://webpack.js.org/configuration/resolve/, I don’t know enough of it, nor interested
1 Like