Skip to content

Commit c0c2d3d

Browse files
author
Norbert de Langen
committed
FIX babel-core including react-display-name
1 parent d514923 commit c0c2d3d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"dependencies": {
2828
"babel-core": "5.8.30",
2929
"babel-loader": "5.3.2",
30-
"babel-plugin-react-display-name": "2.0.0",
3130
"babel-plugin-react-transform": "1.1.1",
3231
"chalk": "1.1.1",
3332
"codemirror": "5.8.0",

src/make-webpack-config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ module.exports = function(env) {
1616
}
1717

1818
var reactTransformPath = path.join(__dirname, '../../babel-plugin-react-transform'); // npm 3
19-
var reactDisplayNamePath = path.join(__dirname, '../../babel-plugin-react-display-name'); // npm 3
2019
if (!fs.existsSync(reactTransformPath)) {
2120
reactTransformPath = path.resolve(__dirname, '../node_modules/babel-plugin-react-transform'); // npm 2 or react-styleguidist develop
22-
reactDisplayNamePath = path.resolve(__dirname, '../node_modules/babel-plugin-react-display-name'); // npm 2 or react-styleguidist develop
2321
}
2422

2523
var includes = [
@@ -147,7 +145,6 @@ module.exports = function(env) {
147145
query: {
148146
stage: 0,
149147
plugins: [
150-
reactDisplayNamePath,
151148
reactTransformPath
152149
],
153150
extra: {

0 commit comments

Comments
 (0)