typeerror while using terser-webpack-plugin code example
Example: terser plugin Cannot read property 'javascript' of undefined
downgrade to this version npm i terser-webpack-plugin@4.2.3 -D
downgrade to this version npm i terser-webpack-plugin@4.2.3 -D