Skip to content

Commit 5853d5a

Browse files
committed
Switch to babel-polyfill for runtime
1 parent bf7715d commit 5853d5a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"dependencies": {
2626
"babel-core": "^5.2.17",
2727
"babel-loader": "^5.1.3",
28+
"babel-polyfill": "/Users/matthisk6.13.0",
2829
"babel-runtime": "^5.4.7",
2930
"body-parser": "^1.12.4",
3031
"browserify-fs": "^1.0.0",

static/js/sandbox.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import Compilers from './compilers';
55
const ES2015 = ['es2015', { modules: false }];
66

77
var runtimeScripts = [
8-
'/node_modules/babel-core/browser-polyfill.js',
8+
'/node_modules/babel-polyfill/dist/polyfill.js',
9+
// '/node_modules/babel-core/browser-polyfill.js',
910
// '/node_modules/traceur/bin/traceur-runtime.js',
1011
// '/node_modules/regenerator/runtime.js'
1112
];

0 commit comments

Comments
 (0)