Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Commit

Permalink
Fix Karma config for webpack 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
timdorr committed Feb 10, 2017
1 parent 970b0d1 commit ecebb5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions karma.conf.js
Expand Up @@ -38,10 +38,11 @@ module.exports = function (config) {
webpack: {
devtool: 'inline-source-map',
module: {
preLoaders: [
rules: [
{
loader: 'babel',
test: /\.js$/,
enforce: "pre",
use: 'babel-loader',
include: [
path.resolve('src/'),
path.resolve('test/')
Expand Down

0 comments on commit ecebb5d

Please sign in to comment.