[Vuejs]-Getting Error Related to Webpack When Doing Unit Test for Vue

0👍

You’re using a configuration for webpack 1.x, but your webpack version is 2.x.

In webpack 1.x you could have custom options on the config. Vue made use of this by using a vue property on the config. Now, in webpack 2.x you can not do this.

Hackernews now supports webpack 2.x, so if you download a fresh version it will compile correctly.

Leave a comment