I have a issue , i wasted so much time on googling i need to ask here this error
var config = {
entry: './main.js',
output: {
path: require('path').resolve("./ReactApp/js"),
filename: 'bundle.js',
publicPath: 'http://127.0.0.1:2992/js'
},
devServer: {
inline: true,
port: 8080
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'babel-loader',
query: {
presets: ['es2015', 'react']
}
}
]
}
}
module.exports = config;
i don't know where is the issue , i just want learn React.js and this is preventing me to do it , can you please explain to me where is the mistake? Thanks in advance