[webpack-cli] Invalid options object. Terser Plugin has been initialized using an options object that does not match the API schema.
- options has an unknown property 'sourceMap'. These properties are valid:
object { test?, include?, exclude?, terserOptions?, extractComments?, parallel?, minify? }
but no problem after removed 'sourceMap: true,' in webpack\build.config.js
Try to build the last bf576ab but failed
but no problem after removed 'sourceMap: true,' in webpack\build.config.js
My terser-webpack-plugin installed is v5.1.1 and also I can 't find 'sourceMap' option in terser-webpack-plugin ??