The only changes to the template config file are :
const MinifyPlugin = require('babel-minify-webpack-plugin')
and replacing UglifyJs with
new MinifyPlugin(),
When building I get this Error :
$ node build/build.js
(node:23633) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.
Done in 18.79s.
The only changes to the template config file are :
const MinifyPlugin = require('babel-minify-webpack-plugin')
and replacing UglifyJs withnew MinifyPlugin(),
When building I get this Error :