Resolved
Spent a lot of time to find out the solution.
Solution: Add index.js
file into src
folder.
That’s it!.. solved 🙂
During Research, I found some facts about webpack 4 :
webpack 4 doesn’t need a configuration file by default!
webpack 4 there is no need to define the entry point: it will take ./src/index.js
as the default!