Control: tag +help Quoting Caleb Adepitan (2022-01-07 05:47:38) > We are starting to build against webpack5 in experimental and the > package needed for local build is webpack and node-webpack-source from > experimental. > During a test rebuild, leaflet-image was found to fail to build [with > webpack5].
> [webpack-cli] Invalid configuration object. Webpack has been initialized > using a configuration object that does not match the API schema. > - configuration.devtool should match pattern > "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$". > BREAKING CHANGE since webpack 5: The devtool option is more strict. > Please strictly follow the order of the keywords in the pattern. I fail to understand what causes this failure more specifically. 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 - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature