Skip to content

Commit

Permalink
re-add babel runtime, fixes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
echenley committed Sep 19, 2015
1 parent 1de82e1 commit 8944633
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
{
test: /\.(js|jsx)$/,
include: path.join(__dirname, 'src'),
loaders: ['react-hot', 'babel', 'eslint']
loaders: ['react-hot', 'babel?optional[]=runtime', 'eslint']
},
{
test: /\.scss$/,
Expand Down
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'),
loaders: ['babel']
loaders: ['babel?optional[]=runtime']
},
{
test: /\.scss$/,
Expand Down

0 comments on commit 8944633

Please sign in to comment.