Sort out the sourcemap properly for the dev build. See https://webpack.js.org/configuration/devtool/#devtool Make it possible and easy for downstreams to select which build they want.