Skip to content

Commit 83d7c44

Browse files
committed
fix(build): include relevant polyfill and babel transforms to be compatible with IE 11
1 parent 8f12f86 commit 83d7c44

File tree

3 files changed

+316
-311
lines changed

3 files changed

+316
-311
lines changed

example.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// import this polyfill in order to make webapp compatible with IE 11
2+
import 'es6-math'
3+
14
import { createHashHistory } from 'history'
25
import { connectRouter, routerMiddleware } from 'connected-react-router'
36
import React, { Component } from 'react'

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"clone": "^2.1.0",
3535
"connected-react-router": "^5.0.1",
3636
"copy-to-clipboard": "^3.0.8",
37-
"core-js": "2",
3837
"currency-formatter": "^1.4.2",
3938
"d3-selection": "^1.3.0",
4039
"d3-zoom": "^1.7.1",
@@ -78,7 +77,8 @@
7877
},
7978
"devDependencies": {
8079
"documentation": "^4.0.0-beta.18",
81-
"mastarm": "^5.1.2",
80+
"es6-math": "^1.0.0",
81+
"mastarm": "https://github.com/conveyal/mastarm/#8fa45b8c22594adfd2aa66d529a1b57904a8cbee",
8282
"nock": "^9.0.9",
8383
"react": "^15.4.2",
8484
"react-dom": "^15.4.2",

0 commit comments

Comments
 (0)