mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
Update to beta 1
locales configuration not loaded automatically anymore, so we need to load react-intl with locales included into the browser ahead of time
This commit is contained in:
parent
731f6a93d4
commit
133e42de06
5 changed files with 4257 additions and 2 deletions
|
@ -53,7 +53,7 @@
|
|||
"react": "0.14.0",
|
||||
"react-addons-test-utils": "0.14.0",
|
||||
"react-dom": "0.14.0",
|
||||
"react-intl": "2.0.0-pr-3",
|
||||
"react-intl": "2.0.0-beta-1",
|
||||
"react-modal": "0.6.1",
|
||||
"react-onclickoutside": "4.1.1",
|
||||
"react-slick": "0.9.2",
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
<!-- Scripts -->
|
||||
<script src="/js/lib/react{{min}}.js"></script>
|
||||
<script src="/js/lib/react-dom{{min}}.js"></script>
|
||||
<script src="/js/lib/react-intl-with-locales{{min}}.js"></script>
|
||||
<script src="/js/lib/raven.min.js"></script>
|
||||
|
||||
<script src="/js/main.bundle.js"></script>
|
||||
|
|
4242
static/js/lib/react-intl-with-locales.js
vendored
Normal file
4242
static/js/lib/react-intl-with-locales.js
vendored
Normal file
File diff suppressed because one or more lines are too long
11
static/js/lib/react-intl-with-locales.min.js
vendored
Normal file
11
static/js/lib/react-intl-with-locales.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,8 @@ module.exports = {
|
|||
externals: {
|
||||
'react': 'React',
|
||||
'react/addons': 'React',
|
||||
'react-dom': 'ReactDOM'
|
||||
'react-dom': 'ReactDOM',
|
||||
'react-intl': 'ReactIntl'
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'build/js'),
|
||||
|
|
Loading…
Reference in a new issue