Skip to content

Commit

Permalink
fix: use webpack-merge instead of merge
Browse files Browse the repository at this point in the history
  • Loading branch information
daKmoR committed Dec 10, 2018
1 parent 048f6ee commit 238744d
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 70 deletions.
5 changes: 2 additions & 3 deletions lib/KarmaWebpackController.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fs = require('fs');
const os = require('os');

const webpack = require('webpack');
const merge = require('merge');
const merge = require('webpack-merge');

class KarmaSyncPlugin {
constructor(options) {
Expand Down Expand Up @@ -118,8 +118,7 @@ class KarmaWebpackController {
}

updateWebpackOptions(newOptions) {
this.__webpackOptions = merge.recursive(
true,
this.__webpackOptions = merge(
this.__webpackOptions,
newOptions
);
Expand Down
124 changes: 58 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 238744d

Please sign in to comment.