[Pkg-javascript-devel] Bug#1003260: Bug#1003260: leaflet-image: FTBFS with webpack5: Invalid configuration object

Pirate Praveen praveen at onenetbeyond.org
Sun May 29 21:21:02 BST 2022


On Fri, 07 Jan 2022 12:52:25 +0100 Jonas Smedegaard <jonas at jones.dk> 
wrote:
 > File debian/webpack.config.js defines the devtool value like this:
 >
 > > devtool: 'source-map',
 >
 > That syntax seems perfectly valid to me, consulting
 > https://webpack.js.org/configuration/devtool/#devtool

Do we really need to pass this option in Debian? This seems relevant 
only for development and webpack 5 seems to pass good defaults based on 
mode (source-map set in development and unset in production). So an 
easier fix would be just remove devtool option from the config file.



More information about the Pkg-javascript-devel mailing list