Skip to content

Commit

Permalink
Exclude node_modules from babel
Browse files Browse the repository at this point in the history
  • Loading branch information
jordangarcia committed Nov 2, 2015
1 parent 1398fdf commit b089dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = [
},
module: {
loaders: [
{ test: /\.js$/, loader: 'babel-loader' },
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' },
],
},
},
Expand All @@ -33,7 +33,7 @@ module.exports = [
},
module: {
loaders: [
{ test: /\.js$/, loader: 'babel-loader' },
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' },
],
},
plugins: [uglifyJsPlugin],
Expand Down

0 comments on commit b089dc5

Please sign in to comment.