Skip to content

Commit 2a4a767

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 41d8aff + 0f66597 commit 2a4a767

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

package-lock.json

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"@babel/plugin-proposal-class-properties": "^7.0.0-rc.1",
8888
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-rc.1",
8989
"@babel/plugin-transform-modules-commonjs": "^7.0.0-rc.1",
90+
"@babel/polyfill": "^7.0.0",
9091
"@babel/preset-env": "^7.0.0-rc.1",
9192
"@babel/preset-react": "^7.0.0-rc.1",
9293
"@babel/preset-typescript": "^7.0.0-rc.1",

src/client/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {updateConfig, websocketInit} from "./common/actions";
22

3+
import "@babel/polyfill";
34
require('es6-promise').polyfill();
45

56
import 'isomorphic-fetch';

webpack.client.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
},
2020
entry: {
2121
vendors: "./src/client/vendors",
22-
index: "./src/client/index"
22+
index: ["@babel/polyfill", "./src/client/index"]
2323
},
2424
output: {
2525
path: path.resolve(__dirname, outputDirectory),

0 commit comments

Comments
 (0)