Skip to content

Commit 253ccde

Browse files
committed
Make it use localhost rather than 0.0.0.0, also React 15.4 so I do not have to ugprade createClass yet
1 parent 77536cd commit 253ccde

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

test/dummy_webpacker2/config/webpacker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ development:
2525
<<: *default
2626

2727
dev_server:
28-
host: 0.0.0.0
28+
host: localhost
2929
port: 8080
3030
https: false
3131

test/dummy_webpacker2/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"coffee-loader": "^0.8.0",
1212
"coffee-script": "^1.12.7",
1313
"compression-webpack-plugin": "^1.0.0",
14+
"create-react-class": "^15.6.0",
1415
"css-loader": "^0.28.7",
1516
"extract-text-webpack-plugin": "2.x.x",
1617
"file-loader": "^0.11.2",
@@ -23,7 +24,7 @@
2324
"precss": "^2.0.0",
2425
"prop-types": "^15.5.10",
2526
"rails-erb-loader": "^5.2.1",
26-
"react": "^15.6.1",
27+
"react": "15.4.x",
2728
"react-dom": "^15.6.1",
2829
"react_ujs": "^2.2.1",
2930
"resolve-url-loader": "^2.1.0",

test/dummy_webpacker2/yarn.lock

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ faye-websocket@~0.11.0:
17791779
dependencies:
17801780
websocket-driver ">=0.5.1"
17811781

1782-
fbjs@^0.8.9:
1782+
fbjs@^0.8.4, fbjs@^0.8.9:
17831783
version "0.8.15"
17841784
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.15.tgz#4f0695fdfcc16c37c0b07facec8cb4c4091685b9"
17851785
dependencies:
@@ -3902,15 +3902,13 @@ react-dom@^15.6.1:
39023902
object-assign "^4.1.0"
39033903
prop-types "^15.5.10"
39043904

3905-
react@^15.6.1:
3906-
version "15.6.1"
3907-
resolved "https://registry.yarnpkg.com/react/-/react-15.6.1.tgz#baa8434ec6780bde997cdc380b79cd33b96393df"
3905+
react@15.4.x:
3906+
version "15.4.2"
3907+
resolved "https://registry.yarnpkg.com/react/-/react-15.4.2.tgz#41f7991b26185392ba9bae96c8889e7e018397ef"
39083908
dependencies:
3909-
create-react-class "^15.6.0"
3910-
fbjs "^0.8.9"
3909+
fbjs "^0.8.4"
39113910
loose-envify "^1.1.0"
39123911
object-assign "^4.1.0"
3913-
prop-types "^15.5.10"
39143912

39153913
react_ujs@^2.2.1:
39163914
version "2.2.1"

0 commit comments

Comments
 (0)