vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.7k stars 4.38k forks source link

Update vue-loader to v15 #1378

Open deckar01 opened 6 years ago

deckar01 commented 6 years ago

vue-loader v15 is supposed to fix some long standing config issues. It would be nice to have this template serve as an example of its usage.

My main motivation for this issue is that I ran into some strange interaction with karma-coverage's lcov report and I'm curious if you run into any issues. Currently the detailed html coverage report does not work right for single file components. With vue-loader v15 and a few patches to istanbul I was able to get it working with perfect line coverage reporting.

ChadTaljaardt commented 6 years ago

dupe of https://github.com/vuejs-templates/webpack/issues/1280

Also here is a working pr : https://github.com/vuejs-templates/webpack/pull/1369

You can use it by running

vue init noamkfir/webpack#webpack-4 project