USING THE WEBPACK DEV SERVER | Webpack 2 Basics Tutorial

preview_player
Показать описание
Learn Webpack 2 - what it is, how it works and how to use it!

Want to become a frontend developer? Consider diving into some of my courses:

See you in the videos!
Рекомендации по теме
Комментарии
Автор

Great video, just a few notes. Before webpack I was using gulp/bower and there is a significant difference between a "task runner" like gulp and webpack which is actually a tool to build bundles, import js/css/images/stuff automatically. Many people are asking me why I should switch to Webpack if I am happy with gulp/grunt, they don't understant that they are different and webpack is more advances in achievement your goals.
The simplest explanation for me is that gulp/grunt does not actually understand your js code, but Webpack does.

StreamCenter
Автор

I love you mission. You’re what we need as a coach . Huge respect to you .

johnyepthomi
Автор

the tutorial title should be numbered!

JulianSloman
Автор

Love the Webpack videos so far! One question, is your package.json file inside of the "src/" directory along with the index.html. Something seems odd to me. Inside of your package.json you are referencing "./src", but based on file indentation, it looks like the package.json is already in the "src' directory?

JamesQQuick
Автор

I think setting up the paths with ./ is optional. That is, it will resolve the file faster since you explicitly tell it to look up from cwd (current working directory).

HardwareAddiction
Автор

thank you ! amazing tutorial ^^, please i have an issue, when i run webpack server, it's redirect me to folders of project not my index.html, but if i open it without webpack server it's work fine, and nothing in network tab. i think my webpack.config.js not loaded correctely

lassaleelmahdi
Автор

This helps with the setup of Webpack so much!!!!

ericzorn
Автор

I have a question about the output file dist/bundle.js, if it's not located in the local project, then where does the server load it from?

hamzahajji
Автор

just great thank U :) one of the best channels on YT

DmitriyPanarin
Автор

Great video once again.
Little question: Are there any pro's to using webpack-dev-server instead of something like MAMP to run a local server?

zegmaarSietse
Автор

can we have index.html as the entry point?

khushboobaheti
Автор

Webpack seems to be bundling all the js files. How does web-pack-server knows which file to render when you run the "npm run build" command?

harishkanna
Автор

or we can directly use vscode live server extension.

amanchaurasia
Автор

awesome max.. really like your tutorial

laksana
Автор

A great class and a hot teacher.
10/10

jhonatanhernandez
Автор

How does the webpack server know to server the index.html

aymenedafri
Автор

Hello, Webpack dev server is not able to create the bundle, hence to server the dist pages.Is there any error logs in order to fix this?

thedacian
Автор

how work with https with webpack, its possible? in local machine.

heyyy
Автор

Why does webpack automatically render your html file?

TheJacksonblair
Автор

Is there any benefits of using this instead of live server extension that is available fot atom visual studio etc

stefan