React: Webpack From Scratch - [002]

React: Webpack From Scratch - [002]

CodeOps Show

7 лет назад

14,636 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Test
Test - 13.11.2018 05:47

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?

Ответить
Ravindra Khandagale
Ravindra Khandagale - 06.02.2018 23:09

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

Ответить
Truth Enlightened
Truth Enlightened - 04.01.2018 11:25

This tutorial for webpack version is too old. could you please make videos for updated version. Very good tutorial i ever found. Thanks

Ответить
Nicholas I
Nicholas I - 28.04.2017 12:07

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

Ответить