Site now works with IE! (And Google Bot Hopefully)

This commit is contained in:
2018-08-01 19:50:37 +10:00
parent 4fea50ff9b
commit 1ee3dee3c3
2 changed files with 14 additions and 2 deletions

View File

@ -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"
] ]
} }

View File

@ -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';