Комментарии:
is it for the new react npm wouldn't work with this? cause while I try to run webpack ./entry.js bundle.js they want directing to change the mode first then create folder src/index.js, then it will compile to folder dist/main.js, is it true?
Ответитьthanks for this tutorial can you please help me, whenever I am trying 'webpack-dev-server --progress --color --watch' this command it showing error that "Configuration file found but no entry configured.
Use --help to display the CLI options.". so can you please tell whats going wrong
This tutorial for webpack version is too old. could you please make videos for updated version. Very good tutorial i ever found. Thanks
ОтветитьI am using ubuntu 16.04, when i run webpack i get this error. any idea how to fix it?
No configuration file found and no output filename configured via CLI option.
A configuration file could be named 'webpack.config.js' in the current directory.
Use --help to display the CLI options.
also this command helped me get those node_modules installed in my directory.
npm install --save-dev webpack