diff --git a/.babelrc b/.babelrc index 0cd7d9f..0fc2cc9 100644 --- a/.babelrc +++ b/.babelrc @@ -2,10 +2,21 @@ "presets": [ ["env", { "targets": { - "node": "current" - } + "node": "current", + "browsers": [ + "Chrome >= 41", + "FireFox >= 44", + "Safari >= 7", + "Explorer 11", + "last 4 Edge versions" + ] + }, + "useBuiltIns": false }], "react", "babel-polyfill" + ], + "ignore": [ + "node_modules" ] } diff --git a/public/index.jsx b/public/index.jsx index fd9dd7c..a53fa21 100644 --- a/public/index.jsx +++ b/public/index.jsx @@ -22,6 +22,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; +import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom';