Remove all traces of rewire packages

This commit is contained in:
Stuart Colville 2015-07-27 09:32:41 +01:00
Родитель d84fe4aabe
Коммит c90862be2a
2 изменённых файлов: 2 добавлений и 10 удалений

Просмотреть файл

@ -1,22 +1,16 @@
'use strict';
/* This is the shared karma config */
var merge = require('lodash.merge');
var RewirePlugin = require('rewire-webpack');
var webpackConfig = require('./webpack.config');
var newWebpackConfig = merge({}, webpackConfig);
// Remove the bits from the shared config
// that we don't want for tests.
delete newWebpackConfig.output;
delete newWebpackConfig.entry;
// Add this just for testing:
newWebpackConfig.plugins = [
new RewirePlugin(),
];
newWebpackConfig.plugins = [];
// Expose the right kind of source map for test-loader.js
newWebpackConfig.devtool = 'inline-source-map';

Просмотреть файл

@ -59,8 +59,6 @@
"node-libs-browser": "0.5.0",
"payment-icons": "0.0.6",
"react-hot-loader": "1.2.8",
"rewire": "2.3.4",
"rewire-webpack": "1.0.0",
"sinon": "1.15.4",
"webpack": "1.10.0",
"webpack-dev-server": "1.10.1"