Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

webpack build err: Invalid shorthand property initializer #220

Open
jane-rose opened this issue Feb 29, 2020 · 1 comment
Open

webpack build err: Invalid shorthand property initializer #220

jane-rose opened this issue Feb 29, 2020 · 1 comment

Comments

@jane-rose
Copy link

my webpack.base.config.js is below:
image
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!

@jane-rose
Copy link
Author

my webpack version is 4.8.3, and babel7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant