webpack build err: Invalid shorthand property initializer
jane-rose opened this issue · comments
my webpack.base.config.js is below:
when i build, webpack error is
ERROR in ./src/assets/img/thankyou/xxx Module build failed (from ./node_modules/image-webpack-loader/index.js): /var/lib/jenkins/workspace/static-snapmakerX/node_modules/imagemin/index.js:15 const handleFile = async (sourcePath, {destination, plugins = []}) => { ^^^^^^^^^^^^ SyntaxError: Invalid shorthand property initializer
is anyone help me ? thx!
my webpack version is 4.8.3, and babel7