Skip to content

Commit

Permalink
Added polyfill to examples to make them run in at least IE9
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed May 24, 2016
1 parent 1de2b71 commit 03df267
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"babel-core": "6.8.0",
"babel-loader": "6.2.4",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-polyfill": "6.9.0",
"babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0",
"babel-preset-stage-1": "6.5.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/redux/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {

devtool: 'source-map',

entry: path.join(__dirname, 'client.js'),
entry: ['babel-polyfill', path.join(__dirname, 'client.js')],

output: {
path: path.join(__dirname, 'build'),
Expand Down
1 change: 1 addition & 0 deletions examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"babel-core": "6.8.0",
"babel-loader": "6.2.4",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-polyfill": "6.9.0",
"babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0",
"babel-preset-stage-1": "6.5.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {

devtool: 'source-map',

entry: path.join(__dirname, 'client.js'),
entry: ['babel-polyfill', path.join(__dirname, 'client.js')],

output: {
path: path.join(__dirname, 'build'),
Expand Down

0 comments on commit 03df267

Please sign in to comment.