Front End Center - Webpack from First Principles

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 122

  • @emilcieslar6428
    @emilcieslar6428 8 лет назад

    Front End Center have the best tutorials on front-end topics! This one especially makes webpack look like it's really easy to use.

  • @ryangiglio1921
    @ryangiglio1921 8 лет назад +1

    This was a GREAT introduction - most things I've seen on Webpack have covered the How very thoroughly but spent less time on the Why, which is really the most important thing. Thanks!

  • @chovyfu
    @chovyfu 8 лет назад +17

    Wow. this is the video i've been looking for -- everything I've seen about webpack made it sound so complicated and turned me away. Now I'm sold. I do wonder how you can generate two bundle files though? as I have two different pages in my site.
    also a gotcha that took me awhile to find (when loading semantic-ui over webpack) was that the short name loaders "css" and "url" both through odd errors in webpack. Turns out it was a name collision and you should always use the full `css-loader` and `url-loader` loader names to avoid this.
    Great video though, looking forward to more!

  • @PrinceOfDarkness0991
    @PrinceOfDarkness0991 8 лет назад

    for some reason this showed up in my GoogleNow feed and i'm glad i watched it.i find webpack documentation to be unforgiving for beginners, so thanks for putting the effort into making this , and i'd love to see more advanced webpack topics covered in future videos.

  • @szimek-yt
    @szimek-yt 7 лет назад +5

    That's the best Webpack intro I've seen so far. I really hope for more advanced Webpack related topics once 2.x is released ;)
    2 questions:
    - what editor and plugin are you using for opening files by clicking their path names?
    - any chances to enable "community-contributed subtitles" to allow others to provide subtitles in other languages for your videos, at least for the free ones?

  • @ManuelPenaloza
    @ManuelPenaloza 8 лет назад +2

    THE webpack introduction. Just great, thx!

  • @sanguination
    @sanguination 8 лет назад +3

    Great video! Well-spoken, good editing, helpful visualizations.
    Thanks to all for making it, I've been trying to understand webpack for awhile, and now I have what I need to get started.

  • @jaboyak
    @jaboyak 7 лет назад

    This is a fantastic video. The fact that moving the script tag to the head fixes it is interesting!

  • @256k_
    @256k_ 8 лет назад +13

    EVERYTHING NEXT PLEASE!

  • @stianmaurstad
    @stianmaurstad 7 лет назад +11

    Amazing video! Perfect voice over and nice pace. Keep rolling out quality like this, and your subscribers will flock & the web will get better.

  • @thiscris_
    @thiscris_ 8 лет назад +2

    Sup Glen, which font are you using in both editor and console? Thanks!

  • @sc0ttwad3
    @sc0ttwad3 8 лет назад

    Best concepts into practice + tutorial available so far! Look forward to ongoing videos.

  • @randypratt658
    @randypratt658 8 лет назад +1

    Hello, thank you very much for showing this, it is one of the best videos on webpack that I have seen. I wish you would slow down a little bit and go a little deeper. Keep making these videos and I think you'll be doing very good here on You Tube! Thank you for this.

  • @sashabayan3176
    @sashabayan3176 8 лет назад +3

    Loved the episode! Thorough, thoughtful, and easy to follow. Looking forward to more to come!

  • @brianevans4
    @brianevans4 3 года назад

    This guy literally invented styled-components!! Such high quality content, would be great to see more of it! I notice he hasn't uploaded in a few years?

  • @yoramcohen1693
    @yoramcohen1693 7 лет назад

    Great video. I would be grateful if you continue with more videos on webpack. Thanks

  • @jayasurian123
    @jayasurian123 8 лет назад

    Bundle splitting is one of the complicated thing. Could you do video on that?

  • @JlNGLEZ
    @JlNGLEZ 8 лет назад

    I would love to see more on this series!

  • @murielsilveira
    @murielsilveira 8 лет назад +3

    Very clear and simple explanation! Looking forward to future videos!

  • @RichardvanDuijnGooglePlus
    @RichardvanDuijnGooglePlus 8 лет назад

    Thanks for the great and clear introduction!. Will be keeping an eye on the channel to see future additions!

  • @WikiAudio
    @WikiAudio 7 лет назад

    The style of this video is absolutely excellent! If you don't mind me asking, what tools do you use to create your block diagrams ? I unabashedly want to emulate it. They are really clean.

  • @SergioBarreracoding
    @SergioBarreracoding 8 лет назад

    Great intro to Webpack! CSS and image loading in particular.

  • @BrianZerangue
    @BrianZerangue 7 лет назад

    Amazing video! Thank you for the clear intro to Webpack! Would love more Webpack videos!

  • @VibeCentralMusic
    @VibeCentralMusic 7 лет назад

    How does this weigh up against dynamically loading content.

  • @bluebill1049
    @bluebill1049 8 лет назад

    This is the second subscribe for me in terms of JavaScript. Thanks for supporting the community mate.

  • @christopherkarper1776
    @christopherkarper1776 8 лет назад +26

    Bundle Splitting next, please.

    • @FrontEndCenter
      @FrontEndCenter  8 лет назад +19

      Will do, but that API is changing up with Webpack 2, so I'm going to wait until that's out & bedded in and then do a follow up to this one.

    • @chovyfu
      @chovyfu 8 лет назад

      bundle splitting would be nice. even for webpack 1. Your video is great, but i can't move forward because I have two js files that can't be combined easily.
      edit: was easy, the vendor was a little tricky, but I figured it out: webpack.github.io/docs/code-splitting.html#split-app-and-vendor-code

  • @CoryTheSimmons
    @CoryTheSimmons 8 лет назад

    Really well made tutorial Glen. This helped me understand why people are flocking to Webpack. Excited to see the Webpack 2 videos. In the meantime, please consider doing a screencast on CSS Modules. Also, what are your thoughts on Rollup? It already has treeshaking and seems to output cleaner. Are we all just sticking with Webpack because it's popular/has the most third party packages?

  • @bradevans2114
    @bradevans2114 8 лет назад

    Great video... would love to see tutorials on the topics mentioned at the end. Especially Hot module replacement and bundle splitting. Thanks!

  • @gabrielbarroso4118
    @gabrielbarroso4118 8 лет назад

    Just subscribed, that was a really good tutorial. Please keep this up! Would love to see more details of webpack and also babel and learn how/why things work.

  • @akashagarwal3469
    @akashagarwal3469 7 лет назад

    do you have this code base in a git you are using for demo purpose ??

  • @GregBailey71
    @GregBailey71 8 лет назад

    Great Video!! More webpack please

  • @StevenCheney6789
    @StevenCheney6789 8 лет назад

    Great video with very clear explanations! Thanks

  • @JonWoo
    @JonWoo 8 лет назад +19

    Great video.

  • @malcolmmiles5395
    @malcolmmiles5395 7 лет назад

    A great video, so well explained. Any chance of a follow-up?

  • @k7n4n
    @k7n4n 7 лет назад

    Thanks for such a clear and informative intro to Webpack. I've gone through the official Getting Started docs but this is so much better. Looking forward to watching the Webpack 2 video.

  • @ar5hadkhan
    @ar5hadkhan 7 лет назад

    this channel is a gem !

  • @tdgalappaththi
    @tdgalappaththi 6 лет назад

    Great video. We need more. Thanks a lot.

  • @cooop92
    @cooop92 7 лет назад

    Great intro video! I had always been put-off webpack after hearing things about it online but now I actually want to give it a go, thanks.

  • @luismuzquiz1400
    @luismuzquiz1400 7 лет назад

    This is what you call a GREAT presentation. i can only say wow.

  • @JlNGLEZ
    @JlNGLEZ 8 лет назад

    I'd Love to see more about this!

  • @_neuromanser_
    @_neuromanser_ 7 лет назад

    I am using requireJS for my dependency management. What are the benefits of Wepback compared to RequreJS? Question for those who used both.

  • @codewithmarcin
    @codewithmarcin 8 лет назад

    Keep up the good work mate! Looking forward to future episodes.

  • @hansdampf10
    @hansdampf10 8 лет назад

    Great video. Great tempo and style.

  • @itsbazyli
    @itsbazyli 8 лет назад +6

    I think one of the better ways to deal with that CSS flashing is to use ExtractTextPlugin with the CSS and then put that CSS back into the head.

    • @FrontEndCenter
      @FrontEndCenter  8 лет назад +2

      Yep, definitely the way to go once you hit a certain size.

  • @xlUIblisUlx
    @xlUIblisUlx 8 лет назад

    Very well explained, immediately subscribed, looking forward to more.

  • @cassioscabral
    @cassioscabral 8 лет назад

    Best Webpack video I've seen. Good job

  • @rasdwaczy
    @rasdwaczy 8 лет назад

    I want more! really enjoyed the video :)

  • @juankraut1621
    @juankraut1621 8 лет назад +1

    Gidyup! Absolutely great video. I've subscribed and encourage you guys to keep doing this amazing job.

  • @briancorey9690
    @briancorey9690 8 лет назад

    Thank you so much! Really down to earth and relevant.

  • @maxkehayov
    @maxkehayov 6 лет назад

    Hey Glen, kudos for your videos. Good looking and very informative!

  • @_ajduke
    @_ajduke 8 лет назад

    Amazing primer on Webpack!!
    But, 2 months and no videos, please upload more

  • @RomanCom
    @RomanCom 8 лет назад

    Awesome explanation! When are we going to see new videos on webpack?

  • @ThomasBurleson
    @ThomasBurleson 8 лет назад

    Great video... keep them coming!

  • @pezo1919
    @pezo1919 6 лет назад

    Thank You for this video! Awesome!

  • @IvanKazandjiev
    @IvanKazandjiev 8 лет назад

    Thanks for the good intro guys. Keep up the good work :)

  • @karlpokus
    @karlpokus 7 лет назад

    Well done. Thanks for sharing.

  • @santosharakere
    @santosharakere 8 лет назад

    Excellent video. Thank you

  • @maesitos
    @maesitos 8 лет назад +2

    what's the editor at 1:18 and the terminal app at 1:01 ? Thanks!

  • @drw2102
    @drw2102 7 лет назад

    When is the next video on webpack coming?

  • @metric152
    @metric152 8 лет назад

    This was a really good video. Thanks for breaking this down.

  • @iamsmitthakkar
    @iamsmitthakkar 6 лет назад

    Great Video ! Can you make a video/playlist for React testing ?

  • @skrolikowski
    @skrolikowski 8 лет назад

    Very informative video. Thank you.

  • @HozefaJodiawala
    @HozefaJodiawala 8 лет назад +1

    Does the code reside in a git repo to have a look at?

    • @FrontEndCenter
      @FrontEndCenter  8 лет назад +1

      Yep, it's here: github.com/geelen/webpack-from-first-principles

    • @HozefaJodiawala
      @HozefaJodiawala 8 лет назад +1

      Thanks. Please create more tutorials that on the topics mentioned at the end. Would be very useful.

  • @bulkan.evcimen
    @bulkan.evcimen 8 лет назад +1

    Great video. Even though I have used webpack before and I'm familiar with it I enjoyed your explanation.

  • @versurio
    @versurio 7 лет назад

    Putting all those images, styles and etc in one file is good for loading speed increasing if to compare it with non bundling version in first time loading. But in case of non bundling approach all those resources will be cashed and will not consume network next times. Also assume now that we have several pages which use same resources, then if you not bundle then overall speed of navigating through the pages will be faster then bundling version. Seems that bundling is controversial approach. It may give benefits in some cases and in other case will not. So after all does this additional complexity with bundling everything in one file even worth?

  • @stanbiryukov501
    @stanbiryukov501 Год назад

    Why did you stop making videos? Very good content

  • @Adonmasters
    @Adonmasters 7 лет назад

    Great video and explanations.

  • @JirkaVrany
    @JirkaVrany 8 лет назад

    Great work, thank you.

  • @tiborsaas
    @tiborsaas 8 лет назад +1

    Jesus, why do I need a plugin to load a URL? They should have been added to that to the core.

  • @macohcoding6775
    @macohcoding6775 8 лет назад

    love the tricks you show

  • @anjith
    @anjith 8 лет назад +2

    Thanks for the video.

  • @FitzroyAcademy
    @FitzroyAcademy 8 лет назад +1

    This is excellent! Super informative.

  • @DanielRamBeats
    @DanielRamBeats 7 лет назад

    dude, your videos are just awesome. Thanks for sharing! :)

  • @HarisZenovic
    @HarisZenovic 8 лет назад

    Greet video , keep 'em coming :D

  • @Rapidodalua2008
    @Rapidodalua2008 7 лет назад

    Updates, I am going to subscribe.

  • @francistorda2529
    @francistorda2529 8 лет назад

    Great video mate.. HMR next, please.

  • @GregBailey71
    @GregBailey71 8 лет назад

    It would be useful to show how to get your web site rendered via localhost:8080. I think people would like to follow along and we seem to be missing a step

  • @catherinekim7718
    @catherinekim7718 7 лет назад

    great video, would like to see how to create css from sass.

  • @DamjanPavlica
    @DamjanPavlica 8 лет назад

    Great explanation.

  • @Martinspire
    @Martinspire 8 лет назад

    I know this is an example, and a basic one at that, but for most Webpack things you post in this video, simply bundling and uglifying your code can be achieved with gulp and uglify/concat as well. I think for most sites webpack is overkill. Especially since some use it for AngularJS and webapps of which you only open the main page and not really switch page that the server is rendering. As in: you pretty much need to load the same stuff anyways. And of course having a short loading time is nice, but for most webapps i've been making the loading time isn't really that important (like 1.2 vs 1.4 seconds with only the page you need vs all pages are in cache) apart from simply uglifying, combining and removing anything you won't be using anyways. People won't mind loading a bit if its some kind of user-portal (which Angular does well). Not to mention that Webpack really benefits from a nodejs server and doesn't really work well if you make them as static resources.
    Anyways, the tutorial was nice and i'm going to follow to see if i can learn a thing or two...

    • @jonathanphilips4510
      @jonathanphilips4510 8 лет назад

      Enjoy the loading times of Angular 2, a 1MB framework.. Haha
      Ember or Aurelia is the way to go.

    • @Martinspire
      @Martinspire 8 лет назад

      I never mentioned that i was using Angular2 which will obviously get smaller too

    • @soviut
      @soviut 8 лет назад

      I built plenty of single page apps and have steadily migrated from grunt, to gulp to webpack. The tree-shaking is especially nice in Webpack because I save a tonne of space on NPM imported libraries, compared to just including the whole minified lib.

  • @AndrewSmithDev
    @AndrewSmithDev 8 лет назад

    Great video
    Subscribed

  • @danieljohns1318
    @danieljohns1318 7 лет назад

    Great video !!

  • @Alessandro-nq3tm
    @Alessandro-nq3tm 6 лет назад +1

    OMG thank you , i feel really dummy watching this :)

  • @jonkrieger5271
    @jonkrieger5271 8 лет назад

    This video was great, this is exactly the kind of content I'm desperately needing. Sub'ed! Please keep it up! :D :D :D

  • @manonjacquin3991
    @manonjacquin3991 6 лет назад

    Very helpful thanks

  • @parkerbond9400
    @parkerbond9400 8 лет назад +3

    how have I not heard of npm scripts until now?!?

  • @axe-z8316
    @axe-z8316 7 лет назад

    also, you can slow down and go a bit deeper, im a bit familiar with webpack, but if this was my first tutorial , I 'd be asking lot's of questions I guess

  • @MeneerSpijker
    @MeneerSpijker 8 лет назад

    thanks!

  • @ChuckReynolds
    @ChuckReynolds 7 лет назад

    Nice this was great; more more more more :)

  • @OnSenseAndReference
    @OnSenseAndReference 7 лет назад

    Seems to me such tools like webpack even if they improve performance etc actually make web clumsy compromising one of its main principles (KISS).

  • @yingjiewang8938
    @yingjiewang8938 7 лет назад

    Pretty awesome !

  • @axe-z8316
    @axe-z8316 7 лет назад

    Superbe , you should really add a codepen, or git files.

  • @TechnoRonin
    @TechnoRonin 8 лет назад

    Nice video, I just wish people would stop speeding up their videos, when you talk at normal speed and your videos play at xx it makes it hard to follow the subject, either speed up both the video and audio together or better yet don't speed anything up.

  • @mlugggy
    @mlugggy 7 лет назад

    hats off

  • @kai13man
    @kai13man 7 лет назад

    nice vid..npm next pls

  • @omermindivanli2981
    @omermindivanli2981 7 лет назад

    Amazing!

  • @tanglesites5021
    @tanglesites5021 7 лет назад

    yes everything! pls! Webpack is def the future...if not a variant of it...asynchronous bundling def is the way to go....which is a fancy way of saying pre-pro
    cessing browser engine I suppose.

  • @adamromero
    @adamromero 8 лет назад +4

    At the beginning, I thought he said Front End Santa.

  • @MrMassaraksh
    @MrMassaraksh 7 лет назад

    Great!

  • @XieLiz
    @XieLiz 8 лет назад

    语速好快,我听的有点费力。虽然开启了自动生成字幕功能,概念的理解上跟不上.