Skip to content

Commit 29bf526

Browse files
committed
Merge pull request #130 from threeve/safari-object-assign-polyfill
Use babel-core polyfill for Safari.
2 parents fd85d3a + fac106b commit 29bf526

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
devtool: 'source-map',
88
entry: [
99
'webpack-hot-middleware/client',
10+
'babel-core/polyfill',
1011
'./index'
1112
],
1213
output: {

webpack.config.production.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ var path = require("path");
44
var webpack = require("webpack");
55

66
module.exports = {
7-
entry: "./index",
7+
entry: [
8+
"babel-core/polyfill",
9+
"./index"
10+
],
811
output: {
912
path: path.join(__dirname, "dist"),
1013
filename: "bundle.js",

0 commit comments

Comments
 (0)