Skip to content

Commit

Permalink
Use babel-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Feb 29, 2016
1 parent 77654eb commit fb2ec0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"webpack-hot-middleware": "^2.6.0"
},
"dependencies": {
"babel-polyfill": "^6.5.0",
"fetch-reddit": "^0.1.0",
"lscache": "^1.0.5",
"normalize.css": "^3.0.3",
Expand Down
1 change: 1 addition & 0 deletions webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var webpack = require('webpack')
module.exports = {
devtool: 'cheap-module-eval-source-map',
entry: [
'babel-polyfill',
'webpack-hot-middleware/client',
'./src/index'
],
Expand Down
5 changes: 4 additions & 1 deletion webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ var autoprefixer = require('autoprefixer')

module.exports = {
devtool: 'source-map',
entry: './src/index',
entry: [
'babel-polyfill',
'./src/index'
],
output: {
path: path.join(__dirname, 'dist'),
filename: 'app.js',
Expand Down

0 comments on commit fb2ec0e

Please sign in to comment.