Object.assign is not compatible with node 0.12

I’m submitting a bug report
Webpack version:

Please tell us about your environment:
Linux – Node 0.12

Current behavior:
cannot compile anymore due to runtime error:

            return callback(null, Object.assign({}, item, {
TypeError: undefined is not a function

Solution is to replace Object.assign with require('object-assign') or update package.json to NOT support node 0.12

Author: Fantashit

1 thought on “Object.assign is not compatible with node 0.12

Comments are closed.