Skip to content

Commit

Permalink
Do not transpile all node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Mar 23, 2017
1 parent 9ca8a99 commit 6283e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/makeReactNativeConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const getDefaultConfig = ({ platform, cwd, dev, port }): WebpackConfig => ({
{
test: /\.jsx?$/,
loader: "happypack/loader?id=babel",
exclude: /node_modules\/(?!(react|react-*)).*/,
exclude: /node_modules\/(?!react)/,
},
{
test: /\.json$/,
Expand Down

0 comments on commit 6283e38

Please sign in to comment.