I am getting the following error when building nuxt.
ERROR in manifest.c2ed139d3924c6a30585.js from UglifyJs
TypeError: Cannot read property 'reset' of undefined
at /Users/timebro/timeBro/git/azureTest/server/node_modules/uglifyjs-webpack-plugin/dist/index.js:96:21
at Array.forEach (native)
at Compilation.<anonymous> (/Users/timebro/timeBro/git/azureTest/server/node_modules/uglifyjs-webpack-plugin/dist/index.js:54:20)
at next (/Users/timebro/timeBro/git/azureTest/server/node_modules/tapable/lib/Tapable.js:204:14)
at Compilation.compilation.plugin (/Users/timebro/timeBro/git/azureTest/server/node_modules/webpack/lib/ProgressPlugin.js:119:6)
at Compilation.applyPluginsAsyncSeries (/Users/timebro/timeBro/git/azureTest/server/node_modules/tapable/lib/Tapable.js:206:13)
at self.applyPluginsAsync.err (/Users/timebro/timeBro/git/azureTest/server/node_modules/webpack/lib/Compilation.js:640:10)
at next (/Users/timebro/timeBro/git/azureTest/server/node_modules/tapable/lib/Tapable.js:202:11)
at Compilation.compilation.plugin.callback (/Users/timebro/timeBro/git/azureTest/server/node_modules/webpack/lib/ProgressPlugin.js:115:6)
at Compilation.applyPluginsAsyncSeries (/Users/timebro/timeBro/git/azureTest/server/node_modules/tapable/lib/Tapable.js:206:13)
at sealPart2 (/Users/timebro/timeBro/git/azureTest/server/node_modules/webpack/lib/Compilation.js:636:9)
at next (/Users/timebro/timeBro/git/azureTest/server/node_modules/tapable/lib/Tapable.js:202:11)
at Compilation.compilation.plugin (/Users/timebro/timeBro/git/azureTest/server/node_modules/webpack/lib/ProgressPlugin.js:111:6)
at Compilation.applyPluginsAsyncSeries (/Users/timebro/timeBro/git/azureTest/server/node_modules/tapable/lib/Tapable.js:206:13)
at Compilation.seal (/Users/timebro/timeBro/git/azureTest/server/node_modules/webpack/lib/Compilation.js:579:8)
at applyPluginsParallel.err (/Users/timebro/timeBro/git/azureTest/server/node_modules/webpack/lib/Compiler.js:514:17)