I get the following error running uglify:
ERROR in vendor-2dec535e94d383047c4d.js from UglifyJs
Unexpected token: keyword «const» [vendor-2dec535e94d383047c4d.js:67757,2]
According to https://www.npmjs.com/package/uglify-js you can use Babel to transpile the code to something uglify can handle. Did you have questions on using Babel?
I get the following error running uglify: ERROR in vendor-2dec535e94d383047c4d.js from UglifyJs Unexpected token: keyword «const» [vendor-2dec535e94d383047c4d.js:67757,2]