Skip to content

Commit 723e617

Browse files
committed
fix __Rewire__ dependency
1 parent 125a6db commit 723e617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack/loaders.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if (DEBUG || TEST) {
3232
if (!TEST) {
3333
jsxLoader.push('react-hot');
3434
}
35-
jsxLoader.push('babel-loader?optional[]=runtime&stage=0&plugins=rewire');
35+
jsxLoader.push('babel-loader?optional[]=runtime&stage=0');
3636
sassParams.push('sourceMap', 'sourceMapContents=true');
3737
sassLoader = [
3838
'style-loader',
@@ -46,7 +46,7 @@ if (DEBUG || TEST) {
4646
'postcss-loader'
4747
].join('!');
4848
} else {
49-
jsxLoader = ['babel-loader?optional[]=runtime&stage=0&plugins=rewire'];
49+
jsxLoader = ['babel-loader?optional[]=runtime&stage=0'];
5050
sassLoader = ExtractTextPlugin.extract('style-loader', [
5151
'css-loader?modules&localIdentName=[hash:base64:5]',
5252
'postcss-loader',

0 commit comments

Comments
 (0)