Beginner’s guide to Webpack
Nader Dabit
78961

Very helpful article.

I had a small problem at the end reading the article, my code of webpack.config.js file, in the area of loaders:

loaders:[
 {
 test: [/\.js$/, /\.es6$/],
 exclude: ‘node_modules’,
 loader: ‘babel-loader’
 }
]

did the clone of the repository and I noticed that was different

loaders:[
 {
 test: [/\.js$/, /\.es6$/],
 exclude: /node_modules/,
 loader: ‘babel-loader’,
 query: {
 presets: [‘react’, ‘es2015’]
 }
 }
]

Show your support

Clapping shows how much you appreciated Jaime Neves’s story.