Site now works with IE! (And Google Bot Hopefully)
This commit is contained in:
15
.babelrc
15
.babelrc
@ -2,10 +2,21 @@
|
|||||||
"presets": [
|
"presets": [
|
||||||
["env", {
|
["env", {
|
||||||
"targets": {
|
"targets": {
|
||||||
"node": "current"
|
"node": "current",
|
||||||
}
|
"browsers": [
|
||||||
|
"Chrome >= 41",
|
||||||
|
"FireFox >= 44",
|
||||||
|
"Safari >= 7",
|
||||||
|
"Explorer 11",
|
||||||
|
"last 4 Edge versions"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"useBuiltIns": false
|
||||||
}],
|
}],
|
||||||
"react",
|
"react",
|
||||||
"babel-polyfill"
|
"babel-polyfill"
|
||||||
|
],
|
||||||
|
"ignore": [
|
||||||
|
"node_modules"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
import 'babel-polyfill';
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
Reference in New Issue
Block a user