Closed salamalala closed 6 years ago
@salamalala Hello! Could you provide your node version and webpack config? I'm quite sure it's your node version is the culprit. Yes, version 2.0.1 does have breaking changes (it's a major release following semantic versioning), the biggest one being use of ES6 which is only supported in node v4.
@salamalala as pointed out by @malinushj , the fact that error is SyntaxError and it is being thrown for destructuring code ensures me that it's caused by not using Node v4 or higher. please, make sure that you're on up-to-date Node or downgrade the package to v1
i assume this one is resolved. thanks
the new version 2.0.0 throws an error when running
webpack --watch
Version 1.1.4 seems to work fine. These are my dependencies in my package.json file: