Skip to content

Commit 51af623

Browse files
committed
Frontend: add react-intl to webpack
1 parent d28ee8a commit 51af623

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
@@ -61,7 +61,7 @@
6161
"expose-loader": "^0.7.1",
6262
"extract-text-webpack-plugin": "^1.0.1",
6363
"file-loader": "^0.9.0",
64-
"i18n-js": "http://github.com/fnando/i18n-js/archive/v3.0.0.rc12.tar.gz",
64+
"intl": "^1.2.5",
6565
"immutable": "^3.8.1",
6666
"imports-loader": "^0.6.5",
6767
"jquery": "^3.1.0",
@@ -76,6 +76,7 @@
7676
"react-addons-pure-render-mixin": "^15.2.1",
7777
"react-bootstrap": "^0.29.5",
7878
"react-dom": "^15.2.1",
79+
"react-intl": "^2.1.5",
7980
"react-on-rails": "^6.1.0",
8081
"react-redux": "^4.4.5",
8182
"react-router": "^2.5.2",

client/webpack.client.base.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = {
3636
'react-on-rails',
3737
'react-router-redux',
3838
'redux-thunk',
39-
'i18n-js',
39+
'react-intl',
4040
],
4141

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

0 commit comments

Comments
 (0)