webpack-contrib / babel-minify-webpack-plugin

[DEPRECATED] Babel Minify Webpack Plugin
MIT License
491 stars 44 forks source link

UnhandledPromiseRejectionWarning when building #69

Closed MorMundHS-MA closed 6 years ago

MorMundHS-MA commented 6 years ago
  1. I use the latest Version (v0.2.0).
  2. The minimal project is the current(v 1.2.4) vue webpack template with this build config

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.
  1. Node version is v6.12.0 on Debian Stretch
jamesisaac commented 6 years ago

Duplicate of #68

alexander-akait commented 6 years ago

Closing because duplicate. Thanks for issue!