app config exclude node_modules instead of include src directory

This commit is contained in:
NikolaBorislavovHristov 2019-07-19 15:40:41 +03:00
parent ea55d445ac
commit 5525a37f07

View file

@ -14,8 +14,8 @@ module.exports = {
rules: [
{
test: /\.js$/,
include: [
path.resolve(__dirname, 'src')
exclude: [
path.resolve(__dirname, 'node_modules')
],
use: {
loader: 'babel-loader',