Configuring and starting webpack


#1

Hi guys
I am new to react and have configured my webpack but for some reason I keep getting the error that entry point has not been specified. I am attaching the screenshot of my error below and the code for my webpack configuration and start script is also mentioned below. !

My webpack.config.js code:
‘use strict’;

const UglifyJSPlugin = require(‘uglifyjs-webpack-plugin’);

module.exports = {
entry:’./source/App.js’,
output:{
path: __dirname,
filename:“bundle.js”
},

And my start script:
“scripts”: {
“start”: “node_modules/.bin/webpack-dev-server --progress”,