Skip to content

Commit

Permalink
update test/prod webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
echenley committed Nov 1, 2015
1 parent 607df2b commit 20b487d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
{
test: /\.(js|jsx)$/,
include: path.join(__dirname, 'src'),
loader: 'babel?optional[]=runtime'
loader: 'babel?presets[]=es2015&presets[]=stage-2&presets[]=react'
},
{
test: /\.scss$/,
Expand Down
2 changes: 1 addition & 1 deletion webpack.tests.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
path.join(__dirname, 'src'),
path.join(__dirname, 'test')
],
loaders: ['babel?optional[]=runtime']
loader: 'babel?presets[]=es2015&presets[]=stage-2&presets[]=react'
},
{
test: /\.scss$/,
Expand Down

0 comments on commit 20b487d

Please sign in to comment.