Getting Karma code coverage for pre-transpilation source code
问题 I'm using Karma to run tests, webpack to bundle files, and babel for es6 -> es5 transpilation. I've got the tests running and code coverage being generated, but the code coverage numbers are for the source files after being transpiled. Is there anyway to get code coverage for the original source files instead? I tried using the sourcemap preprocessor but it didn't seem to do anything. Do I need to add that to the webpack config somewhere? karma.conf.js config.set({ browsers: ['Chrome'], //run