You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: part2/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,6 +218,9 @@ by an extreme amount.
218
218
219
219
`include` prevents this by specifying that this loader only applies to `.js` files in your `src` directory.
220
220
221
+
Alternative you could change `include: path.join(__dirname, 'src')` to `exclude: /node_modules/` which will then
222
+
include everything but the `node_modules` folder. More information can be found [here](https://webpack.github.io/docs/configuration.html#module-loaders).
223
+
221
224
## We are Done?
222
225
223
226
Honestly I thought this tutorial would be longer, but it seems I forgot that adding babel is
0 commit comments