Webpack 5 Crash Course | Frontend Development Setup

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 345

  • @brightsite7561
    @brightsite7561 2 ปีที่แล้ว +464

    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 ปีที่แล้ว +34

      Senior full stack developer with 3 years of experience sounds hella sketchy 😂😂

    • @brightsite7561
      @brightsite7561 2 ปีที่แล้ว +45

      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 ปีที่แล้ว +9

      @@brightsite7561 whoops, my bad!

    • @brightsite7561
      @brightsite7561 2 ปีที่แล้ว +7

      @@meJevin that’s alright mate

    • @simajacob7416
      @simajacob7416 2 ปีที่แล้ว +9

      @@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.

  • @fatehboug1932
    @fatehboug1932 2 ปีที่แล้ว +128

    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 ปีที่แล้ว +10

      Thank You 😊

    • @yt-sh
      @yt-sh 2 ปีที่แล้ว +2

      @@TraversyMedia Hello Mr Brad, can we get new Electron tutorial with enhanced security etc..

    • @TraversyMedia
      @TraversyMedia  2 ปีที่แล้ว +6

      @@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

  • @ReachByteBurst
    @ReachByteBurst 2 ปีที่แล้ว +5

    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 ❤!

  • @rayromanov
    @rayromanov ปีที่แล้ว +9

    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.

  • @gamerclips8895
    @gamerclips8895 ปีที่แล้ว +2

    I love how Brad teaches he always go directly to the point with a lot of hands on examples

  • @prasadhonrao
    @prasadhonrao 10 หลายเดือนก่อน +2

    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.

  • @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.

  • @manwithllama
    @manwithllama ปีที่แล้ว +26

    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 ปีที่แล้ว

      But he seems to be assuming that his audience is gay

  • @simajacob7416
    @simajacob7416 2 ปีที่แล้ว +1

    Thanks, Brad.
    I was just searching for a good and latest webpack tutorial 2 hours before your release. Thanks Again.

  • @rishukumar7586
    @rishukumar7586 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    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!!!

  • @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!

  • @malkitsingh01
    @malkitsingh01 2 ปีที่แล้ว +1

    superb content as always. Many thanks and much love, Brad.

  • @celionation
    @celionation 2 ปีที่แล้ว

    Thank you, Brad, just what I was looking for. You drop this just at the right time. 💯❤

  • @abhijit6772
    @abhijit6772 หลายเดือนก่อน

    This is the first video I have seen of yours and I understood the setup for webpack 5 completely. Thanks a ton!

  • @Calupp
    @Calupp 2 ปีที่แล้ว +1

    2 minutes in I just realized how recently this was uploaded. you are an absolute godsend

  • @philippebaillargeon5204
    @philippebaillargeon5204 ปีที่แล้ว

    This video is like 10000x better than any get started blog I read about webpack. Good job

  • @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.

  • @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!

  • @Thomas_Grusz
    @Thomas_Grusz 8 หลายเดือนก่อน +1

    Great video, Brad! You are one of favorite content creators for online web dev education.

  • @lovrozagar3729
    @lovrozagar3729 ปีที่แล้ว

    The best webpack tutorial for beginners I could find. Thank you.

  • @ZenTechnologist
    @ZenTechnologist 2 ปีที่แล้ว +1

    It definitely was a crash course but it got the job done, everything worked without a hitch. Thanks Brad

  • @elisabethanggia4502
    @elisabethanggia4502 2 ปีที่แล้ว +2

    Exactly what i need, right now. Thank you.

  • @morchellemusic2829
    @morchellemusic2829 2 ปีที่แล้ว

    great video, exactly what I needed. Waiting for Snowpack crash course, thanks Brad

  • @georgekrax
    @georgekrax 2 ปีที่แล้ว +1

    We all needed that video! 💯

  • @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! 😂

  • @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.

  • @yukii_kamishiro
    @yukii_kamishiro 2 ปีที่แล้ว

    Thank you so much Brad, from the bottom of my heart.

  • @tomaszleszczynski8928
    @tomaszleszczynski8928 ปีที่แล้ว +1

    In my opinion, still one of the best Webpack tutorial. Thanks a lot.

  • @seetlive
    @seetlive 2 ปีที่แล้ว

    Thank you for this nice Webpack 5 tutorial, short and to the point.

  • @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!

  • @danielwaduka5740
    @danielwaduka5740 11 หลายเดือนก่อน

    Thanks sir! This has made me pick up the very basics that I needed to know concerning Webpack.

  • @dr.margulis7773
    @dr.margulis7773 2 ปีที่แล้ว +4

    Brad, you the best frontend teacher in the whole damn world! :) :) :)

  • @gmjitendra
    @gmjitendra 2 ปีที่แล้ว

    Excellent, I revisited my basic knowledge on Webpack through this video. Thanks a lot :)

  • @morchedlafferty8614
    @morchedlafferty8614 2 ปีที่แล้ว

    I really benefited from this video. Thank you so much for the efforts!

  • @Martinit0
    @Martinit0 ปีที่แล้ว

    Great course! So helpful. Webpack is a beast not easily tamed.

  • @maximilianominetto524
    @maximilianominetto524 2 ปีที่แล้ว +1

    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

  • @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)!

  • @rorycawley
    @rorycawley ปีที่แล้ว

    This is excellent, the one to watch for Webpack 5!

  • @collinsk8754
    @collinsk8754 ปีที่แล้ว

    Great tutorial. Simplified webpack concepts very well. Thanks.

  • @kshayk0
    @kshayk0 2 ปีที่แล้ว +9

    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!

  • @yoDrQ
    @yoDrQ ปีที่แล้ว

    Thank you for a clear and succinct crash course that I can point others to.

  • @koushikchatterjee9505
    @koushikchatterjee9505 ปีที่แล้ว

    First I press like button and then I started watching your video. Lots of love and respect for you.

  • @RJ-mf4bc
    @RJ-mf4bc 2 ปีที่แล้ว

    Brad,Your truly best..,Your videos help thousands of developers,Please keep it up❤❤

  • @barryallen2560
    @barryallen2560 2 ปีที่แล้ว

    Love the video man

  • @mahmoudalhussain9291
    @mahmoudalhussain9291 2 ปีที่แล้ว

    Yeah the perfect time to learn Webpack 5, Thank you so much Brad u r awesome 👏

  • @dad_breams
    @dad_breams 7 หลายเดือนก่อน

    Great vid! thanks Brad

  • @adeboyeolushola5684
    @adeboyeolushola5684 2 ปีที่แล้ว +3

    Thanks for the support.....you're really changing my life for good
    Your tutorials and courses are great
    Keep it up💯

  • @kchausheva
    @kchausheva 2 ปีที่แล้ว

    Another awesome video from Brad.

  • @XempegeX
    @XempegeX 5 หลายเดือนก่อน

    Awesome tutorial from start till end! Thanks!

  • @Erik-ss2jp
    @Erik-ss2jp ปีที่แล้ว

    Man, you are awesome. Big thanks!

  • @Alessandro-nq3tm
    @Alessandro-nq3tm 2 ปีที่แล้ว +1

    Amazing, as always!

  • @baba_yaga9
    @baba_yaga9 ปีที่แล้ว

    The video I've been looking for🙌. Thanks man, you earned a sub today✨

  • @sanashaikh3238
    @sanashaikh3238 2 ปีที่แล้ว +1

    Thanks brad for this video 😊

  • @emarekica
    @emarekica ปีที่แล้ว

    This was fantastic, thank you so much!

  • @destinlee
    @destinlee 2 ปีที่แล้ว

    Thanks for the update my man!!

  • @liammandeville2883
    @liammandeville2883 2 ปีที่แล้ว

    Great content as usual, I like the new intro too good touch.

  • @mrklenton6897
    @mrklenton6897 2 ปีที่แล้ว

    Brad! thank your for this Amazing Crash Course.
    i learning with you and more

  • @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.

  • @seanbrill4183
    @seanbrill4183 5 หลายเดือนก่อน

    Awesome video thanks man!!

  • @hasnainasif1657
    @hasnainasif1657 ปีที่แล้ว

    A great introductory video on web pack...
    Highly recommended...

  • @user-yg1pm7sv5e
    @user-yg1pm7sv5e ปีที่แล้ว

    Thanks! Great intro tutorial

  • @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.

  • @one2oblivion
    @one2oblivion ปีที่แล้ว

    thank you just thank you. This was great :)

  • @indroneelray1630
    @indroneelray1630 2 ปีที่แล้ว

    Thank you Brad, for everything :)

  • @yahyafati
    @yahyafati 2 ปีที่แล้ว

    One of the things that I wanted to learn. Thanks a lot

  • @masaorel6530
    @masaorel6530 ปีที่แล้ว

    Thank you so much for this video, so clear and clean, it helped me understand when i needed in a short time :)

  • @yagzceritoglu1690
    @yagzceritoglu1690 2 ปีที่แล้ว

    clear and simple explanation about webpack, thank you

  • @marcosotto8424
    @marcosotto8424 ปีที่แล้ว

    Thanks for this video. Incredible. I could learn a lot new stuff with you....

  • @dryoldcrabman6890
    @dryoldcrabman6890 8 หลายเดือนก่อน +1

    very helpful! Thank you!

  • @webdevelopmentguide4910
    @webdevelopmentguide4910 ปีที่แล้ว

    Great video explanation from scratch, Thankyou 😊😊

  • @lokeshjain1344
    @lokeshjain1344 ปีที่แล้ว

    Thank you so much for this course! You are awesome

  • @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.

  • @tsiaowang5820
    @tsiaowang5820 2 ปีที่แล้ว

    Thank you so much, bring me to this whole new world.

  • @anhduy-ii9si
    @anhduy-ii9si หลายเดือนก่อน

    Great video. Thanks a lot !

  • @nanasarathi
    @nanasarathi ปีที่แล้ว

    Very informative... Thanks for sharing this.

  • @parnasmi
    @parnasmi 2 ปีที่แล้ว

    great tutorial on webpack! Thank you very much!

  • @fatemehqasemkhani3954
    @fatemehqasemkhani3954 11 หลายเดือนก่อน

    As always, you are more than perfect

  • @romankorolov3344
    @romankorolov3344 ปีที่แล้ว

    Thank you, useful content!

  • @tomknud
    @tomknud ปีที่แล้ว

    Excellent video, thanks

  • @eumm11
    @eumm11 ปีที่แล้ว

    this was excellent, thank you so much!

  • @lemster909
    @lemster909 ปีที่แล้ว

    Awesome! Thank you so much for this content, I learned a lot today.. it's a good start for webpack :)

  • @JamesYGGoY
    @JamesYGGoY 10 หลายเดือนก่อน

    great tutorial, thanks!

  • @sabrefoxx8115
    @sabrefoxx8115 ปีที่แล้ว

    Thank you for this. You're awesome

  • @kurshadqaya1684
    @kurshadqaya1684 2 ปีที่แล้ว +6

    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!

  • @solteeme8745
    @solteeme8745 2 ปีที่แล้ว

    Amazing Content Man! Keep it up

  • @mrjeevy7720
    @mrjeevy7720 4 หลายเดือนก่อน

    Great vid, thanks!

  • @brandonstryker8069
    @brandonstryker8069 ปีที่แล้ว

    Very helpful intro to webpack! thanks :)

  • @PawanKumarpks
    @PawanKumarpks 2 ปีที่แล้ว

    Brad, thanks you so much,, this tutorial help me to understand webpack very closely.

  • @sirajeddinebouasker4267
    @sirajeddinebouasker4267 2 ปีที่แล้ว

    Thanks Brad for sharing

  • @someguy1390
    @someguy1390 2 ปีที่แล้ว

    I love webpack, it gives you more control over your environment

  • @archiem6323
    @archiem6323 2 ปีที่แล้ว +1

    Great tutorial. Thanks! Always a fan😁

  • @olegmaz3969
    @olegmaz3969 2 ปีที่แล้ว

    Thanks, amazing course.

  • @taavirannamets
    @taavirannamets ปีที่แล้ว

    Great tutorial, thanks!

  • @ahmedazeez9253
    @ahmedazeez9253 2 ปีที่แล้ว

    Absolutely love traversy

  • @yossefpartouche3983
    @yossefpartouche3983 ปีที่แล้ว

    Excellent ! thank you

  • @ericle1236
    @ericle1236 2 ปีที่แล้ว

    Great video. Thank you sir!

  • @elciano6599
    @elciano6599 ปีที่แล้ว

    Perfect crash course, really tnx

  • @AndresGonzalez-el2vc
    @AndresGonzalez-el2vc ปีที่แล้ว

    This is perfect, just what i need. Thanks. Wating The SnowPack versión.

  • @danielwoodbridge7244
    @danielwoodbridge7244 ปีที่แล้ว

    Awesome, thank you very much