Skip to content

Commit 9825649

Browse files
committed
Frontend: add react-intl to webpack
1 parent b565d9b commit 9825649

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

client/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"expose-loader": "^0.7.1",
6060
"extract-text-webpack-plugin": "^1.0.1",
6161
"file-loader": "^0.9.0",
62-
"i18n-js": "http://github.com/fnando/i18n-js/archive/v3.0.0.rc12.tar.gz",
62+
"intl": "^1.2.5",
6363
"immutable": "^3.8.1",
6464
"imports-loader": "^0.6.5",
6565
"jquery": "^3.1.1",
@@ -75,6 +75,7 @@
7575
"react-addons-pure-render-mixin": "^15.4.1",
7676
"react-bootstrap": "^0.30.7",
7777
"react-dom": "^15.4.1",
78+
"react-intl": "^2.1.5",
7879
"react-on-rails": "^6.2.1",
7980
"react-redux": "^4.4.6",
8081
"react-router": "^3.0.0",

client/webpack.client.base.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
'react-on-rails',
3939
'react-router-redux',
4040
'redux-thunk',
41-
'i18n-js',
41+
'react-intl',
4242
],
4343

4444
// This will contain the app entry points defined by webpack.hot.config and webpack.rails.config

0 commit comments

Comments
 (0)