Webpack 5 Crash Course | Frontend Development Setup

  Рет қаралды 280,186

Traversy Media

Traversy Media

Күн бұрын

In this video, we will create a Webpack dev environment from scratch including...
Webpack setup
Webpack Dev Server
HTML Webpack Plugin
Sass Compiling
Babel Transpiling
Asset Resource Loaders
Analyzer Plugin
Source Maps
💻 Webpack Starter Repo:
github.com/bradtraversy/webpa...
👇 Website & Courses:
traversymedia.com
💖 Show Support
Patreon: / traversymedia
PayPal: paypal.me/traversymedia
👇 Follow Me On Social Media:
Twitter: / traversymedia
Instagram: / traversymedia
Linkedin: / bradtraversy
Timestamps:
0:00 - Intro
2:29 - Initial Files (src/dist)
4:24 - Creating Modules
6:10 - Webpack Install & Building
8:20 - Using NPM Modules
9:27 - Webpack Config File
12:42 - Loaders & Sass Compiling
16:11 - HTML Webpack Plugin
18:30 - HTML Template
20:35 - Caching & Hash Setup
22:10 - Webpack Dev Server
25:22 - Cleaning Up Hash Files
26:50 - Source Maps
27:52 - Babel Loader
30:32 - Asset Resource Loader
34:18 - Finish The Joke App
38:26 - Webpack Bundle Analyzer

Пікірлер: 336
@brightsite7561
@brightsite7561 2 жыл бұрын
Brad , 3 years ago my journey started with you. On my way of becoming a senior full stack developer at an awesome company. You are changing lives brother !
@meJevin
@meJevin 2 жыл бұрын
Senior full stack developer with 3 years of experience sounds hella sketchy 😂😂
@brightsite7561
@brightsite7561 2 жыл бұрын
Read again. I said on my way of becoming a senior. Meaning now I am mid level and on my way of becoming a senior in a couple of years.
@meJevin
@meJevin 2 жыл бұрын
@@brightsite7561 whoops, my bad!
@brightsite7561
@brightsite7561 2 жыл бұрын
@@meJevin that’s alright mate
@simajacob7416
@simajacob7416 2 жыл бұрын
@@meJevin It is not impossible. I have seen ppol with few years of exps and hard working. putting down work that some seniors were unable to do.
@gamerclips8895
@gamerclips8895 Жыл бұрын
I love how Brad teaches he always go directly to the point with a lot of hands on examples
@timothyayers8015
@timothyayers8015 Жыл бұрын
Dude. You are so awesome. All I needed was this video instead of watching bits and pieces from other videos. Thanks for access to the sample. Nice to have after you did a great job at taking us through each step to build it. Would have been hard to just look at everything and know how each part gets used. Now, I understand why a tool such as webpack is something I need to use.
@rayromanov
@rayromanov Жыл бұрын
This was a very useful and easy to follow introduction to something I've been holding off for months simply because it looked so complicated. Turns out it's not! Thank you so much, Brad.
@prasadhonrao
@prasadhonrao 8 ай бұрын
This is the best Webpack tutorial and nothing less was expected from Brad. I am just buying another course from his website as a token of appreciation. Thanks Brad.
@ReachByteBurst
@ReachByteBurst Жыл бұрын
Straight to the point and recent, loved it. Saved my day, I was struggling with implementing sass the entire time because all the tutorials use node-sass which is (as you lined out) deprecated, but then I went to the sass chapter on this video and it worked! So thanks ❤!
@rishukumar7586
@rishukumar7586 2 жыл бұрын
Brad ..i just want to say thank you for your efforts ..it really means a lot for all of us who learn from your videos. You have spent your valuable time on creating such quality content.....please keep doing it ..:)
@katrineren6457
@katrineren6457 2 жыл бұрын
Brad, I wonder why you always know what I am planning to learn and make a course at the exactly right time….Thank you so much for this great tutorial!!!
@simajacob7416
@simajacob7416 2 жыл бұрын
Thanks, Brad. I was just searching for a good and latest webpack tutorial 2 hours before your release. Thanks Again.
@fatehboug1932
@fatehboug1932 2 жыл бұрын
This Guy made me fall in love with programing I started following this channel since 2018 and now I'm working as full stack JavaScript developer thanks to God and thank you very much for making such awesome content.
@TraversyMedia
@TraversyMedia 2 жыл бұрын
Thank You 😊
@yt-sh
@yt-sh 2 жыл бұрын
@@TraversyMedia Hello Mr Brad, can we get new Electron tutorial with enhanced security etc..
@TraversyMedia
@TraversyMedia 2 жыл бұрын
@@yt-sh That is something I would like to do soon. I need to update my Electron course as well.
@WendimuSitotaw
@WendimuSitotaw 2 жыл бұрын
Same here … big fan since 2018 and I got into web dev mainly because of @@TraversyMedia
@yt-sh
@yt-sh 2 жыл бұрын
@@TraversyMedia yay, thank you for consideration, appreciate it
@daydreamical
@daydreamical Жыл бұрын
Just wanted to thank you for making and sharing this video, it cleared up so many questions I had for me and I definitely learned a LOT from it. Thank you so much!
@Franksterrific
@Franksterrific Жыл бұрын
It definitely was a crash course but it got the job done, everything worked without a hitch. Thanks Brad
@ezeobisochima9944
@ezeobisochima9944 2 жыл бұрын
Even though I am here yet I still value this like any other video. To me all Brad's video is a must watch 😁. Keep up the good work in making more great leaders Brad, indeed it actually making you a better leader. Loads of love from here.
@philippebaillargeon5204
@philippebaillargeon5204 Жыл бұрын
This video is like 10000x better than any get started blog I read about webpack. Good job
@EricMalek
@EricMalek Жыл бұрын
I can't believe I found this by total accident! Helped me in about 30 minutes with what I couldn't figure out in 3 days. Seriously, thank you for this. Btw, I almost spit my coffee out at “I can has”! That’s some old school right there! 😂
@lovrozagar3729
@lovrozagar3729 Жыл бұрын
The best webpack tutorial for beginners I could find. Thank you.
@maximilianominetto524
@maximilianominetto524 2 жыл бұрын
Thanks Brad I know it is not easy to stay on youtube and creating new content. You upload interesting videos that they need more support. Thanks and you have a good day
@johnadepelumi93
@johnadepelumi93 2 жыл бұрын
been working with react and never had to bother about webpack until today. My company is building a project in Vanilla and someway somehow, I have to do some webpack configuration mostly to reduce our build size. This really helped me get started on a good speed.
@tips-and-tricks-for-m-files
@tips-and-tricks-for-m-files Жыл бұрын
Thank you so much. Finally got webpack 5 to do what I want thanks to your crash course!
@tomaszleszczynski8928
@tomaszleszczynski8928 10 ай бұрын
In my opinion, still one of the best Webpack tutorial. Thanks a lot.
@morchellemusic2829
@morchellemusic2829 2 жыл бұрын
great video, exactly what I needed. Waiting for Snowpack crash course, thanks Brad
@Calupp
@Calupp 2 жыл бұрын
2 minutes in I just realized how recently this was uploaded. you are an absolute godsend
@celionation
@celionation 2 жыл бұрын
Thank you, Brad, just what I was looking for. You drop this just at the right time. 💯❤
@elisabethanggia4502
@elisabethanggia4502 2 жыл бұрын
Exactly what i need, right now. Thank you.
@sojuthomas7727
@sojuthomas7727 2 жыл бұрын
Thank you so much for this tutorial, I never heard about sourceMap before, Just implemented it after watching your video.it's so cool.
@vimux
@vimux Жыл бұрын
Brad lead me to Javascript full stack development. The moment I finished his MENR stack crash course, back in 2018 or 2017, I fell in love with it and proceeds to dedicate my career into Javascript web development.
@bilalkorir2070
@bilalkorir2070 Жыл бұрын
Thank you for this nice Webpack 5 tutorial, short and to the point.
@kshayk0
@kshayk0 2 жыл бұрын
I was always afraid of webpack and how complicated it seems to be, but you managed to break it into a very understandable segments and it made it seem far less intimidating now. Thank you very much!
@danielwaduka5740
@danielwaduka5740 9 ай бұрын
Thanks sir! This has made me pick up the very basics that I needed to know concerning Webpack.
@malkitsingh01
@malkitsingh01 2 жыл бұрын
superb content as always. Many thanks and much love, Brad.
@tadakuniyasuda8214
@tadakuniyasuda8214 Жыл бұрын
Through struggling, crying, beating myself on the edge of sanity, you share dadjoke humor to show some light of hope, like an angel. Your heart gives us hope. Thank you as always.
@Thomas_Grusz
@Thomas_Grusz 6 ай бұрын
Great video, Brad! You are one of favorite content creators for online web dev education.
@yukii_kamishiro
@yukii_kamishiro 2 жыл бұрын
Thank you so much Brad, from the bottom of my heart.
@collinsk8754
@collinsk8754 Жыл бұрын
Great tutorial. Simplified webpack concepts very well. Thanks.
@koushikchatterjee9505
@koushikchatterjee9505 Жыл бұрын
First I press like button and then I started watching your video. Lots of love and respect for you.
@Martinit0
@Martinit0 Жыл бұрын
Great course! So helpful. Webpack is a beast not easily tamed.
@lucas.n
@lucas.n Жыл бұрын
boom! top content, right there! who would've believed it is still possible to have good content over youtube in 2020s!? thank you!
@yoDrQ
@yoDrQ Жыл бұрын
Thank you for a clear and succinct crash course that I can point others to.
@RJ-mf4bc
@RJ-mf4bc 2 жыл бұрын
Brad,Your truly best..,Your videos help thousands of developers,Please keep it up❤❤
@manwithllama
@manwithllama Жыл бұрын
I'm learning Webpack for the first time, and your video is the best one I've found. - Your pacing is perfect. Not too fast, not too slow. - You don't focus on the app being built-you focus on webpack (another 2hr+ long video tries to demonstrate webpack with an overly complex example app. It was mind numbing.) - You start/code "from scratch". That's so important in learning. There are no existing files. I watch you code and absorb every step (again, because of your calm pacing). In other words, (21 minutes in at least) you don't seem to assume anything of the viewer besides basic html/css/js skills. Thank you so much for putting this together. I'm learning lots, and will come back to it again when I start implementing it. Thanks Brad! Instant subscribe.
@antoniofuller2331
@antoniofuller2331 10 ай бұрын
But he seems to be assuming that his audience is gay
@hachikoi-san3901
@hachikoi-san3901 Жыл бұрын
I can't believe I have ignored this for so long, it's so cool! can't wait to understand more Vite(veet)!
@morchedlafferty8614
@morchedlafferty8614 2 жыл бұрын
I really benefited from this video. Thank you so much for the efforts!
@mahmoudalhussain9291
@mahmoudalhussain9291 2 жыл бұрын
Yeah the perfect time to learn Webpack 5, Thank you so much Brad u r awesome 👏
@dr.margulis7773
@dr.margulis7773 2 жыл бұрын
Brad, you the best frontend teacher in the whole damn world! :) :) :)
@gmjitendra
@gmjitendra Жыл бұрын
Excellent, I revisited my basic knowledge on Webpack through this video. Thanks a lot :)
@mrklenton6897
@mrklenton6897 2 жыл бұрын
Brad! thank your for this Amazing Crash Course. i learning with you and more
@rorycawley
@rorycawley Жыл бұрын
This is excellent, the one to watch for Webpack 5!
@hasnainasif1657
@hasnainasif1657 Жыл бұрын
A great introductory video on web pack... Highly recommended...
@JamesYGGoY
@JamesYGGoY 8 ай бұрын
great tutorial, thanks!
@XempegeX
@XempegeX 3 ай бұрын
Awesome tutorial from start till end! Thanks!
@georgekrax
@georgekrax 2 жыл бұрын
We all needed that video! 💯
@charlieurt8221
@charlieurt8221 Жыл бұрын
Woooow this video was help myself to do my first project using webpack. Unfortunnely, I was doing a bunch of projects without take care of a properly planning and using a lot of old tecnologies and bad practices, and now, is the moment for learning about the Front-End best tools for this times. I was reading and learning about webpack from the official documentation, but, despite the info is very interesting about the potential of this dev enviroment, for moments is pretty confuse to me and a lot of theory to learn, is for that the reason I was looking a practical introduction with a little sample project to learn a bit of the bases, and this video was the one I'm looking for. In addition, congrats for the voice, I'm not a native English speaker, and I can say the voice is clearly well. Thanks a lot, this video have my like and I'm a new suscriptor for your channel, I hope to find content like that in the future, good evening for you.
@yagzceritoglu1690
@yagzceritoglu1690 2 жыл бұрын
clear and simple explanation about webpack, thank you
@destinlee
@destinlee 2 жыл бұрын
Thanks for the update my man!!
@adeboyeolushola5684
@adeboyeolushola5684 2 жыл бұрын
Thanks for the support.....you're really changing my life for good Your tutorials and courses are great Keep it up💯
@universecode1101
@universecode1101 2 жыл бұрын
Nice 😄
@baba_yaga9
@baba_yaga9 Жыл бұрын
The video I've been looking for🙌. Thanks man, you earned a sub today✨
@emarekica
@emarekica Жыл бұрын
This was fantastic, thank you so much!
@nooutidev
@nooutidev 7 ай бұрын
Straight forward , thanks!
@abdellahdamri656
@abdellahdamri656 2 жыл бұрын
That's was awesome Brad! It was intimidating hearing about these things But you came through THANK YOU !! It would be awesome if you could show use how can we build something like react I am curious how react was built It would be an COOL project. And Again THANK YOU
@masaorel6530
@masaorel6530 Жыл бұрын
Thank you so much for this video, so clear and clean, it helped me understand when i needed in a short time :)
@user-yg1pm7sv5e
@user-yg1pm7sv5e Жыл бұрын
Thanks! Great intro tutorial
@someguy1390
@someguy1390 Жыл бұрын
I love webpack, it gives you more control over your environment
@ahmedabdulrazzaq2015
@ahmedabdulrazzaq2015 2 жыл бұрын
I looked at your old webpack vid and said I wish he update it because I need to use for my work and you just posted the new vid 😂😂😂
@AndresGonzalez-el2vc
@AndresGonzalez-el2vc Жыл бұрын
This is perfect, just what i need. Thanks. Wating The SnowPack versión.
@marcosotto8424
@marcosotto8424 Жыл бұрын
Thanks for this video. Incredible. I could learn a lot new stuff with you....
@sirajeddinebouasker4267
@sirajeddinebouasker4267 2 жыл бұрын
Thanks Brad for sharing
@lemster909
@lemster909 Жыл бұрын
Awesome! Thank you so much for this content, I learned a lot today.. it's a good start for webpack :)
@Alessandro-nq3tm
@Alessandro-nq3tm 2 жыл бұрын
Amazing, as always!
@tsiaowang5820
@tsiaowang5820 Жыл бұрын
Thank you so much, bring me to this whole new world.
@yahyafati
@yahyafati 2 жыл бұрын
One of the things that I wanted to learn. Thanks a lot
@nanasarathi
@nanasarathi Жыл бұрын
Very informative... Thanks for sharing this.
@eumm11
@eumm11 Жыл бұрын
this was excellent, thank you so much!
@parnasmi
@parnasmi 2 жыл бұрын
great tutorial on webpack! Thank you very much!
@kurshadqaya1684
@kurshadqaya1684 2 жыл бұрын
Hello, Brad. You are a legend guy that inspired lots of people to learn programming. I think the same way you can inspire poeple who want to create a new programming channel. I want to start a programming channel, it would be awesome to learn your process in one of your videos from beginning to the end. I mean a video about a course creation. From microphones, to slides, to postprocess of video and so on. Love you!
@universecode1101
@universecode1101 2 жыл бұрын
Nice 😄
@PawanKumarpks
@PawanKumarpks Жыл бұрын
Brad, thanks you so much,, this tutorial help me to understand webpack very closely.
@sanashaikh3238
@sanashaikh3238 2 жыл бұрын
Thanks brad for this video 😊
@lokeshjain1344
@lokeshjain1344 11 ай бұрын
Thank you so much for this course! You are awesome
@liammandeville2883
@liammandeville2883 2 жыл бұрын
Great content as usual, I like the new intro too good touch.
@shahab1
@shahab1 9 ай бұрын
You rescued me from Parcel hell ! It was working all fine with a practice project but suddenly it stopped HMR, and I researched and tested my a** off ultimately resulted in anything. So I dared myself to try webpack which was on my roadmap to learn but not now, .then( ! ) Where to learn installing and configuring webpack other than bruda Brad ! THANK you man, your teaching and demonstration is clean, soooooooo straight forward, THANKS A LOT
@dad_breams
@dad_breams 5 ай бұрын
Great vid! thanks Brad
@indroneelray1630
@indroneelray1630 2 жыл бұрын
Thank you Brad, for everything :)
@glenncsimon
@glenncsimon Жыл бұрын
Perfect, exactly what I was looking for. A concise summary of common config options for webpack. Wish I could give it 10 thumbs up. Thanks Brad! BTW, the official webpack documentation is terrible. Full of bugs, errors, rambling, and bad writing. This video is crystal clear and to the point.
@Erik-ss2jp
@Erik-ss2jp Жыл бұрын
Man, you are awesome. Big thanks!
@prakashr5206
@prakashr5206 8 ай бұрын
Excellent chapter on webpack...
@barryallen2560
@barryallen2560 Жыл бұрын
Love the video man
@webdevelopmentguide4910
@webdevelopmentguide4910 Жыл бұрын
Great video explanation from scratch, Thankyou 😊😊
@sabrefoxx8115
@sabrefoxx8115 11 ай бұрын
Thank you for this. You're awesome
@kchausheva
@kchausheva 2 жыл бұрын
Another awesome video from Brad.
@dryoldcrabman6890
@dryoldcrabman6890 5 ай бұрын
very helpful! Thank you!
@fatemehqasemkhani3954
@fatemehqasemkhani3954 9 ай бұрын
As always, you are more than perfect
@romankorolov3344
@romankorolov3344 Жыл бұрын
Thank you, useful content!
@seanbrill4183
@seanbrill4183 3 ай бұрын
Awesome video thanks man!!
@olegmaz3969
@olegmaz3969 Жыл бұрын
Thanks, amazing course.
@brandonstryker8069
@brandonstryker8069 Жыл бұрын
Very helpful intro to webpack! thanks :)
@codezero6023
@codezero6023 2 жыл бұрын
Great! I always like good tutorials on Webpack. Brad, I prefer yours over with Colt Steele’s tutorial on same topic.
@one2oblivion
@one2oblivion Жыл бұрын
thank you just thank you. This was great :)
@tropubiotegarcia3654
@tropubiotegarcia3654 7 ай бұрын
great video, you are the best
@yossefpartouche3983
@yossefpartouche3983 Жыл бұрын
Excellent ! thank you
@solteeme8745
@solteeme8745 2 жыл бұрын
Amazing Content Man! Keep it up
@unknownman5296
@unknownman5296 2 жыл бұрын
love the new intro !!
Styled Components Crash Course & Project
48:23
Traversy Media
Рет қаралды 248 М.
когда одна дома // EVA mash
00:51
EVA mash
Рет қаралды 8 МЛН
Лизка заплакала смотря видео котиков🙀😭
00:33
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 178 М.
Webpack 5 CSS Walkthrough: Sass, PostCSS and more!
37:26
Swashbuckling with Code
Рет қаралды 27 М.
Creating and Understanding a Basic Webpack 5 Setup
41:49
Swashbuckling with Code
Рет қаралды 59 М.
Build ENTIRE Frontends With ONE Prompt - OpenUI Tutorial
8:59
Matthew Berman
Рет қаралды 49 М.
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 61 М.
Webpack crash course | easy way
32:07
Hitesh Choudhary
Рет қаралды 53 М.
Why is Everyone Using Vite?
7:34
Awesome
Рет қаралды 70 М.
JavaScript Fighting Game Tutorial with HTML Canvas
3:56:20
Chris Courses
Рет қаралды 5 МЛН
Don't learn Webpack in 2023: A dive into 3 alternatives
16:00
Swashbuckling with Code
Рет қаралды 9 М.
Компьютерная мышь за 50 рублей
0:28
dizzi
Рет қаралды 2,1 МЛН
Эволюция телефонов!
0:30
ТРЕНДИ ШОРТС
Рет қаралды 4,2 МЛН
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Рет қаралды 2,5 МЛН
Creepy Samsung Alarm cannot be turned off 😱🤣 #shorts
0:14
Adani Family
Рет қаралды 250 М.