Module Bundlers Explained... Webpack, Rollup, Parcel, and Snowpack

  Рет қаралды 490,925

Fireship

Fireship

Күн бұрын

What is a Module Bundler? And why do I need one? Learn how tools like Webpack, Rollup, Parcel, and Snowpack can package your code as a production-ready web application. fireship.io
Webpack webpack.js.org/
Snowpack www.snowpack.dev/
Sponsor me for $1 github.com/cod...
#webdev #tutorial #javascript
Install the quiz app 🤓
iOS itunes.apple.c...
Android play.google.co...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
My VS Code Theme
Atom One Dark
vscode-icons
Fira Code Font

Пікірлер: 561
@AshesOfEther
@AshesOfEther 4 жыл бұрын
Fireship: *Uploads a video.* Someone in the comments: OMG I WAS JUST LOOKING FOR THIS!!!!
@bouzianeamine8815
@bouzianeamine8815 4 жыл бұрын
i swear
@iRIDS
@iRIDS 4 жыл бұрын
I just started using snowpack with svelte yesterday and I was looking for something like this, that compares the different options. The algorithm sees all.
@azatecas
@azatecas 4 жыл бұрын
but is true tho lol, I was just looking at WebPack
@gonefishing7
@gonefishing7 4 жыл бұрын
It's a time-honoured tradition!
@StrangeIndeed
@StrangeIndeed 4 жыл бұрын
Fireship has 460k subs, so things like that are bound to happen
@josueem14
@josueem14 4 жыл бұрын
As someone starting in the web development industry, all these technologies feel so overwhelming.
@lohar5055
@lohar5055 4 жыл бұрын
If you are just starting out than just stick to HTML, CSS, Javascript. And really these are the hardest of the web dev learning curve. When your little project starts to get bigger and somewhat complex, take on a framework like React, or Vue. Learning a framework and the techs that surround it are really easy. Because the the majority of your time is spent learning better approaches to a problem and becomming a better programmer. Again these techs and their names may sound overwhelming but are really easy to pick up.
@thuggfrogg
@thuggfrogg 3 жыл бұрын
The internet is a million hacks duct-taped together with js. I bet we could simplify it all if we just replaced js with Scheme-in-the-browser... 😏
@crashito_x
@crashito_x 3 жыл бұрын
Welcome to the game
@letthedevscook
@letthedevscook 3 жыл бұрын
But starting out and moving forward regardless is the best thing to do. Congratulations on that :)
@shellyyang1916
@shellyyang1916 3 жыл бұрын
totally echo you !
@estelagartija4149
@estelagartija4149 4 жыл бұрын
It literally took me 6 hours to watch the video and follow the steps and breaking my pc and braking my head but it was worth it. Thanks for taking us by the hand.
@naturesdip
@naturesdip 4 жыл бұрын
Configuring Webpack from scratch for enterprise scale projects has been one of my best skill investments. It honestly feels like 90% of previous struggles have been due to bad project configs. Thank you so much for this video!
@ArtonnX
@ArtonnX Жыл бұрын
@@Snerdy0867 Just use Vite, it's much simpler and faster. I'm using it in my company.
@mrgalaxy396
@mrgalaxy396 Жыл бұрын
​@@Snerdy0867 Honestly just read the bundler's docs. It might take you a few hours but it will give you an overview of everything you can use in it and how to use it.
@MarkVonBaldi
@MarkVonBaldi Ай бұрын
True
@ionitaa
@ionitaa 4 жыл бұрын
Classic KZbin tutorial... First 5 steps (that are obvious to everybody) explained in detail, the next 3 (slightly harder steps) glanced over and the following 100.000 hard steps are not even addressed. There is no shortcut around the grind. Read the docs and and put aside a few days for learning webpack. 6 months from now when they ship a new major release you'll do it i all over again and you'll love it!
@jvcmarc
@jvcmarc 4 жыл бұрын
this channel is my gateway into the world of webdev! always when I'm confused about a subject such as docker, webpack, or anything like that, a new video comes out that helps me get started
@michaelokellomykfrost
@michaelokellomykfrost 18 күн бұрын
SIMPLY AMAZING. I understood all this in a 10 minute video. NO complicated stuff. straight to the point. Thank you bro
@BigGingerJake
@BigGingerJake 4 жыл бұрын
I've been watching these tutorials for a while now, and I continue to be blown away by how much value you are able cram into each short video. The quality and conciseness that your style delivers is just brilliant, and imho fits perfectly in line with what your target audience desires. I'd just like you to know that you are doing a phenominal job, and I've decided to sign up for full membership. Thank you for your hard work and amazing content.
@adipradhan3506
@adipradhan3506 3 жыл бұрын
Today I wasted my time understanding webpack with all the 2 hours courses and you explained it in what 10 minutes. Awesome dude 😎
@london5679
@london5679 4 жыл бұрын
For the record, you can use script tags with es6 Import syntax by delcaring the type as a module. i.e.
@amaury_permer
@amaury_permer 2 жыл бұрын
thoght the same
@Dev-Siri
@Dev-Siri 2 жыл бұрын
This works but the browser is not able to resolve the import if you do like: import lodash from 'lodash'; this doesn't work since it doesn't know to look into the node_modules folder. So you have to manually locate the package like this: import lodash from './node_modules/lodash'; and if it uses commonjs, ie the require() function instead of `import` and `export` then well, it won't work either. The commonjs `require()` function is not defined in the browser
@bmfitzgerald3
@bmfitzgerald3 Жыл бұрын
@@Dev-Siri I also wonder, when importing manually, that even if you supply the path to the package './node_modules/lodash' ... I wonder if the browser would have trouble if lodash itself had its own dependencies which it needed to find. Perhaps a non-issue, but I haven't set up a test yet
@Dev-Siri
@Dev-Siri Жыл бұрын
​@@bmfitzgerald3 yea its possible. Since even if we supply the path to the browser, it would still be confused as it won't look outside the lodash folder and in the node_modules again. Source Code -----------------------|--------------------- IMPORT ./node_modules/lodash | Some Dependency
@Raidar29
@Raidar29 9 ай бұрын
@@Dev-Siri exactly, and it also won't work if the dependency has it's own module identifier. e.g './node_modules/chart.js/dist/chart.js' could work but inside of the chart.js file theres a strange import: import '@kurkle/color' It took me a while to figure all this out, now i'm here trying to understand bundlers so i can get chartjs to work
@gonefishing7
@gonefishing7 4 жыл бұрын
I'm so glad I have notifications on; I was just trying to figure out how to use webpack! How did you know, Jeff???
@Fireship
@Fireship 4 жыл бұрын
That's what I do :)
@FalseDev
@FalseDev 4 жыл бұрын
It's getting spookier for Halloween
@cryptonative
@cryptonative 4 жыл бұрын
Thing is 50% of time your dealing with a bundler webpack, babel or metro for RN
@aj.arunkumar
@aj.arunkumar 4 жыл бұрын
Jeff has firesense 😋
@VinitKhandelwal
@VinitKhandelwal 4 жыл бұрын
It's probability. 1 out of thousands of followers is ought to do the same when the video is uploaded.
@spuish
@spuish 7 ай бұрын
Thank you SO MUCH. I have been banging my head against the wall trying to understand webpack. This made it so simple!
@simulation3120
@simulation3120 2 жыл бұрын
I don't know how I would learn to code without this channel.
@mathiasdeweerdt1400
@mathiasdeweerdt1400 4 жыл бұрын
Love the video, 3 small issues with the video though. - You have to install sass aswell and not only the loaders * npm install --save-dev sass - You used the scss variable "$color" but u defined "$text". - Add publicPath to devServer so it should like this: devServer: { publicPath: '/dist', contentBase: path.join(__dirname, 'public'), port: 9000 },
@JackEatock
@JackEatock 3 жыл бұрын
Thank you!
@goldensonu15
@goldensonu15 2 жыл бұрын
Thank you.. :) I have written like, devServer : { publicPath: '/dist', contentBase : path.join(__dirname, 'public'), port : 9000 } still, I see this error >>> "Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options has an unknown property 'contentBase'. Coz of this dev-server is not serving the page.. Any tips please ???
@vjzb3
@vjzb3 2 жыл бұрын
@@goldensonu15 from looking closely at the error it gave you, it looks like the contentBase key is not named correctly. You might scratch your head at this, because you see everyone else using contentBase - so the next step is to google 1 of 2 things: either “webpack contentBase not working” or something along those lines to see if anyone else has gotten this error (which will show you other people indeed have ran into this error and have also shared the solution), or if you’re a little more comfortable with the idea of API’s you might think do go directly to the Webpack documentation for the devServer object so that you can see all of the fields it accepts. The first of those two showed me what new field name belongs there, and the second google search helped me confirm that it appears in Webpack 4 the field was called “contentBase”, but now in Webpack 5 they are calling that field “static” and contentBase is no longer a valid field name. So you must have webpack version 5.x installed and it’s just telling you the schema for devServer has changed and that contentBase is no longer a valid field name. For all the options for devServer you can just google something like “webpack devServer” and the top link should take you to the official docs at webpack.js.org In the beginning, everything can be overwhelming so even though your console gave you a pretty actionable and clear error message, it’s totally normal to feel like you don’t know what to do next. This is basic debugging skills, but it can take a while to build the experience and intuition that makes these steps very obvious to you. You’re doing great
@abhishekjangid6695
@abhishekjangid6695 2 жыл бұрын
You saved me on this issue
@benkiarie149
@benkiarie149 2 жыл бұрын
@@goldensonu15 what worked for me is changing the contentBase to static. I read on stack overflow that's what should be used
@vadityag
@vadityag 3 жыл бұрын
This video is perfect in delivery. It doesn't bore people who are familiar with part of the stuff and it is very useful for beginners.
@ChiCity511
@ChiCity511 2 жыл бұрын
The reason you get the error at 3:28 is actually because you haven't specified type="module" in your script tag. You still can't do bare imports even after that but thats a separate issue.
@davidezih3510
@davidezih3510 11 ай бұрын
Not true for NPM modules.... And for your own local JS module files, maybe sure.
@lohar5055
@lohar5055 4 жыл бұрын
Webpack on default minifies code. Setting "mode" to "development" reduces bundling times significantly.
@AnantaAkash.Podder
@AnantaAkash.Podder 4 ай бұрын
It is one of the Finest if Not the BEST Explanation for Web Bundlers... I learned about HTML & CSS many years ago, yet I didn't know about the Concept of Web Bundlers
@cpaez2000
@cpaez2000 Жыл бұрын
3:23 this error "cannot use an import outside a module" is because you need to write "type="module"" inside script tag and you need a node server like "live server" to use modules. Anyway the error that you will have is "failed to resolve module specifier "lodash". Relative references must start with either "/", "./", or "../".
@Marceloamado1998
@Marceloamado1998 4 ай бұрын
This video is gold! in 4minutes I managed to understand what it was, why is it good, and how to use it. Thank you sir
@CodingWithLewis
@CodingWithLewis 4 жыл бұрын
Always releasing quality videos Fireship! I get excited everytime you are in my sub box.
@zoaybk
@zoaybk 4 жыл бұрын
I never tried to learn how to configure webpack because it seemed daunting to me. But you make it look so effortless. So quickly.
@amnaatarapper
@amnaatarapper 4 жыл бұрын
Every time I come across one of this guy's video I end up learning a new skill... thank you man keep the great work going
@palikircis5877
@palikircis5877 3 жыл бұрын
This is a very good one and I really appreciate it. By the way if someone had an error like this "PostCSS received undefined instead of CSS string". Try installing also as Dev Dependencies sass aside from sass-loader and you will be fine. Also contentBase for dev server is deprecated and thus change with the word static instead.
@mannymedina1132
@mannymedina1132 2 жыл бұрын
My savior
@sonyuinthesky
@sonyuinthesky Жыл бұрын
Thank you, I was confused with this one.
@jameswinston5369
@jameswinston5369 Жыл бұрын
Lifesaver.
@PenguinjitsuX
@PenguinjitsuX 3 жыл бұрын
This is hands down the best development channel on KZbin. The videos are succinct, perfectly to the point, and extremely useful. I've probably watched over 50 videos so far and every single one has been useful!
@JordanAF808
@JordanAF808 3 жыл бұрын
0:01 The best explanation of modern web development in 60 seconds.
@speckyferns6780
@speckyferns6780 3 жыл бұрын
Some of the best courses ever - specific topics, clear delivery, fast, everything just works! Thank you!
@thinkeneering
@thinkeneering Жыл бұрын
As of 2023, I was getting an error about missing sass at 7:01. If this happens to you, what you can do is update your style loaders by typing the following on the command line: npm install --save-dev style-loader css-loader sass sass-loader
@incrypted607
@incrypted607 Жыл бұрын
Thank you for saving me time trying to figure this out! :D
@PurpleyBlueDuck
@PurpleyBlueDuck Жыл бұрын
Thank you!
@javierperez5567
@javierperez5567 2 жыл бұрын
Thanks!
@EmJiMadhu
@EmJiMadhu 4 жыл бұрын
Dude, seriously. You are literally the best!!! You give insights about something in few minutes. Most of the time, most developers want is to learn something quickly! Yes it might sound like a joke. But its true. How many of you skipped video just to learn the important part!!!! We all did. And he (i am really soory. I forgot your name the guy who made this video. I am following you since you "were" part of firebase. I Still remeber those videos you made for firebase!!), just gives you the important stuff!! Trust me when you are a developer and you didnt have the time to go through the whole video, you skip. Thank you sooo much dude! And all his videos, its not just learning but fun and jokes!!! For example "Heaviest object in the universe"? Dude that was awesome!!!! I laughed the hell out!!!!!!!! It is fun learning with you. And i swear when i get my next job i will definitly donate you dude!!! Seriously i will. Because you desrve it!! Thanks and Peace!
@ray_bags
@ray_bags 4 жыл бұрын
Man, Thanks a lot, your "over 10" minutes video clarified and highlighted more than a 2hour tutorial could. Tha k you
@epremier20050
@epremier20050 4 жыл бұрын
I've never been so happy to see this video finally be made because I was spending months trying to figure out how the heck bundlers are integrated into a project and I'm so glad to see how it goes in depth.
@smohammeds
@smohammeds 4 жыл бұрын
You're an underrated legend in the world of web development educators. 🔥🔥🔥
@darkwoodmovies
@darkwoodmovies 10 ай бұрын
It's sad, but I've been using these tools with never fully understanding them. Thank you for this.
@danimunf
@danimunf 4 жыл бұрын
I really love this, I'm new js environment, so I've been watching a lot of your videos and thanks God i learn a lot. Now I'm confident enough to build my own portfolio and start my journey on js
@Dylan_thebrand_slayer_Mulveiny
@Dylan_thebrand_slayer_Mulveiny 4 жыл бұрын
Been a dev a long time. Back in "the day" we just wrote sites with jQuery, css and html. I cannot imagine going back to that. I
@kristijanross977
@kristijanross977 3 жыл бұрын
yeahhhhh
@JC-jz6rx
@JC-jz6rx 2 жыл бұрын
i had been struggling with this for sooooooooo long Thank YOU
@anmoldewan527
@anmoldewan527 3 жыл бұрын
Having "eureka" moments throughout the video! Loving it ❤️
@Wakkyguy
@Wakkyguy 4 жыл бұрын
This is the first that I was able to comprehend module bundlers.
@TamDNB
@TamDNB 4 жыл бұрын
I forget these exist tbh, thanks for reminding me how lucky I am Jeff.
@sauravkumarjha2838
@sauravkumarjha2838 Жыл бұрын
Helpful... For me, your content looks like perfection..
@scott2574
@scott2574 Жыл бұрын
Update (April 20, 2022): Snowpack is no longer actively maintained and is not recommended for new projects.
@eighties8
@eighties8 Жыл бұрын
For anyone getting errors after 8:10, use this instead: devServer: { static: { directory: path.join(__dirname, 'public'), }, compress: true, port: 9000, },
@PurpleyBlueDuck
@PurpleyBlueDuck Жыл бұрын
Thank you.
@vatsalpatel3669
@vatsalpatel3669 2 жыл бұрын
Really really really simple and best video I was thinking to take course for learning webpack but you just did it in 9 mins thanks bro you are awesome one of the best channel I have subscribed from my account😎🙏
@vaniad555
@vaniad555 3 жыл бұрын
I wasn't sure what I was looking for asTS code didn't compile, but it found me :), the algorithm is getting fast.
@swoorp
@swoorp 4 жыл бұрын
You're a great person, I saw something named as WebPack, fortunately, I had your notifications on and theres no problem now... Loved the tutorial! Thanks Jeff :)❤
@Peter-ur8nv
@Peter-ur8nv 4 жыл бұрын
You are one of the 4 YT channels i’ve subscribed to. Your content is perfect. 👌
@bmejia220
@bmejia220 2 жыл бұрын
Snowpack sounds awesome!! Can’t wait to try it. Thank you!
@kevindandrade4016
@kevindandrade4016 6 ай бұрын
I'm new to Bundlers and I gotta say your explanation and demos here were way easier to understand..Even ChatGPT sucked for this topic
@vuelancer
@vuelancer 4 жыл бұрын
writing this comment while waiting for the video and advertisement to finish. I always don't want to skip the ad in your video.
@timeowilliams4620
@timeowilliams4620 3 жыл бұрын
Amazing video! Really appreciate that you showed life before and after module bundlers!
@pauldill8368
@pauldill8368 3 жыл бұрын
Webpack, demystified! Thank you. I found solutions to past problems in that video that had so far gone unsolved.
@muhammadsami479
@muhammadsami479 4 жыл бұрын
Web assembly on the list?😍
@Fireship
@Fireship 4 жыл бұрын
WASM in 100 seconds coming soon...
@Brunoenribeiro
@Brunoenribeiro 4 жыл бұрын
@@Fireship good lord, hope it comes out in the next 100 seconds 😂 cant wait!!
@albertbennett6290
@albertbennett6290 4 жыл бұрын
@@Fireship Even though I know nothing about Javascript or web development in general, still very excited.
@NikhilKumar-im8ls
@NikhilKumar-im8ls 3 жыл бұрын
Thanks for explaining these hard to get around topics in such a concise and fun way. Your videos are very helpful for beginners
@codegully_channel
@codegully_channel 2 жыл бұрын
Very well summarized video on Webpack. Keep it up.!
@feelwang
@feelwang 3 жыл бұрын
For anyone really care to follow: 1 install sass 2 change $text to $color in sass. 3 After dev server, change to src=“main.js” because wdv does not output anything. Still, great work.
@thomaslukasiewicz7026
@thomaslukasiewicz7026 2 жыл бұрын
im doing an intro talk on this and using this tutorial as a guide... you have absolutely saved my life
@BrUSomania
@BrUSomania Жыл бұрын
Thank you! :)
@stickzman
@stickzman 3 жыл бұрын
Your channel is a godsend.
@okbrown
@okbrown 3 жыл бұрын
Definitely the best Bundler tutorial/guide for Webpack to date. I would go as far as to say better than the horrid docs they provide too. 🍺👋🏾
@nallidremylc
@nallidremylc Жыл бұрын
Love the content. I’ve always heard of webpack but now I’m starting to use it I needed the guidance. Thanks for the information
@KevinVandyTech
@KevinVandyTech 4 жыл бұрын
I recently had to learn all this when building our own component library. We use Rollup and Babel, and it works, but we're probably still doing a lot of things wrong.
@RianY2K
@RianY2K 4 жыл бұрын
More details and tutorials for Snowpack please ?
@artgreg2296
@artgreg2296 4 жыл бұрын
+1
@pavithraraghav1256
@pavithraraghav1256 5 ай бұрын
Awesome explanation . Thanks for step by step from scratch
@jackmaison4209
@jackmaison4209 4 жыл бұрын
Finally, I understand webpack. Great introduction!
@Nexus-rt1bm
@Nexus-rt1bm 4 жыл бұрын
You think you do, you do not
@dannygarcia8012
@dannygarcia8012 10 ай бұрын
Very helpful, thanks for taking the time to do this!
@patmuller8992
@patmuller8992 2 жыл бұрын
Incredibly useful for getting started. Thank you!
@lukasluftlaufer1093
@lukasluftlaufer1093 3 жыл бұрын
Finally concepts click! Thanks a lot!
@pging8328
@pging8328 2 жыл бұрын
This video is simply superb, par excellence.
@AnteZivkovic
@AnteZivkovic 4 жыл бұрын
7:00 you also need 'npm install --save-dev node-sass' before this will work.
@ridl27
@ridl27 4 жыл бұрын
ok, now we are waiting for Snowpack tutorial :) and ty.
@ReadieFur
@ReadieFur 3 жыл бұрын
1:52 gave me a good little chuckle
@jonwakefield813
@jonwakefield813 2 жыл бұрын
Dude... thank GOD for this video
@Maxim86
@Maxim86 3 жыл бұрын
Now that's a solid 'Men at Work' reference.
@ivonnebenites3308
@ivonnebenites3308 Жыл бұрын
Thank you so much for the video , I totally appreciate it, It had helped me to understand bundlers like webpack, thanks!!!
@nastygambler2522
@nastygambler2522 4 жыл бұрын
Love❤️ snowpack and happy😁 that svelte💥 has inclination 🎚️ towards snowpack... ❄️
@Fireship
@Fireship 4 жыл бұрын
I think says a lot about their commitment to a good dev experience
@iRIDS
@iRIDS 4 жыл бұрын
yeah I just tried out snowpacks create snowpack app svelte template yesterday. I'm liking it better than the standard rollup template.
@nastygambler2522
@nastygambler2522 4 жыл бұрын
Svelte team is working as much as they can for good developer experience ... They added typescript support too.....
@thedevilffs
@thedevilffs 4 жыл бұрын
I'm a backend dev and haven't been in the FE-loop for some years. The video explains how to solve the problem of using TS, React, and Sass. But, why not, you know, use JS, HTML, and CSS and avoid the problem from the beginning? What are the benefits of having this complicated setup?
@skandiaart
@skandiaart 4 жыл бұрын
Speed (it’s easier to make a project in react and than in plain ol js), safety and ease of use
@paulwhiterabbit
@paulwhiterabbit 4 жыл бұрын
scalability and maintainability
@RoyerAdames
@RoyerAdames 3 жыл бұрын
OMG I WAS JUST LOOKING FOR THIS!!!! Thank you. Great content.
@shasherazi
@shasherazi Жыл бұрын
This video is a lesson in a BootCamp I'm attending (microverse), but I have already watched this video many times lol
@albertchung7641
@albertchung7641 3 жыл бұрын
Your videos are always so good!
@sachindraragul1094
@sachindraragul1094 3 жыл бұрын
You killed it. Thanks man
@JimmyS2
@JimmyS2 4 жыл бұрын
This is one awesome video, this is my quick reference for using WebPack, thank you
@nickeax
@nickeax 4 жыл бұрын
Thanks for producing concise and relevant lessons!
@wontonfuton
@wontonfuton 4 жыл бұрын
🔥 content from fireship as always. Used webpack for several of my frontend learning projects. Learned quite a bit more here today as well.
@DalexHD
@DalexHD 4 жыл бұрын
Love your work!! ♥️
@omegawolfe1
@omegawolfe1 4 жыл бұрын
U made me start learning programming..... i can't understand shit but it's okey .... if i keep trying one day I'll understand fully ur vids
@maskman4821
@maskman4821 4 жыл бұрын
pretty awesome tutorial about webpack, now snowpack is out and performs much better than webpack, so it is time to expect a great snowpack tutorial coming out !!!
@MohdRusmanAriefARahman
@MohdRusmanAriefARahman 4 жыл бұрын
Thanks for the great content Mr Fireship.
@UltimateOstrichRider
@UltimateOstrichRider Жыл бұрын
Solid and concise tutorial. Thanks!
@codingblocks3495
@codingblocks3495 4 жыл бұрын
thanks dude your content is fresh and awesome as always
@augusto256
@augusto256 4 жыл бұрын
Best web dev channel.
@glimpsee7941
@glimpsee7941 4 жыл бұрын
As usual, you lead us forward
@souravsinha5330
@souravsinha5330 3 жыл бұрын
Thanks a ton sir. Got a clear picture on webpacks
@bas_kar_na_yar
@bas_kar_na_yar 3 жыл бұрын
At 3:28 the explanation is wrong. The browser does know where the file is and also knows where to find it. The reason the error is thrown is that the browser by default read it in ES5 syntax which does not support `import` or `export`. Then, webpack is used to bundle dependencies into a single ES5 cross-browser compatible file which is then imported. But as browser support for ES6 has improved you can the file by adding type="module" in the script tag without the need for webpack, for a project like this.
@leonardosalazar5818
@leonardosalazar5818 4 жыл бұрын
Just wanted to say that Chrome do understand ES6 "import" (not sure about other browser). The problem for this is that if you don't use webpack, you will need to specify the exact relative path. So you can't simply use `from "lodash"`, instead you should use `from "../node_modules/lodash/lodash.js"` or something like that. It's because is Webpack the one who resolves the dependencies. Without it, you should specify manually. Anyway, you don't use Webpack just because the imports, right? (:
@EnglishRain
@EnglishRain 2 жыл бұрын
Thanks a TON for ZOOMING IN
@lifeisbeautifu1
@lifeisbeautifu1 Жыл бұрын
Clean explanation. Thank you.
@thesuperyou2829
@thesuperyou2829 2 жыл бұрын
you can use this will allow you to use modules directly.
@ang3loux
@ang3loux 3 жыл бұрын
You guys are so awesome!
@AbdulRaheemDumrai
@AbdulRaheemDumrai 6 ай бұрын
I appreciate your teaching style. It will be more convenient for us to understand if you could slow down the script. Thanks!
@fullStackInKannada
@fullStackInKannada 4 ай бұрын
Very nicely explained, thank you :)
@JohnJohnson-ds4ui
@JohnJohnson-ds4ui 4 жыл бұрын
Perfect timing 👌
Explains Module Bundlers in 3 Levels of Difficulty
18:35
lihautan
Рет қаралды 14 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,7 МЛН
Require vs Import Javascript
22:39
Monsterlessons Academy
Рет қаралды 81 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 323 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,5 МЛН
Why is Everyone Using Vite?
7:34
Awesome
Рет қаралды 90 М.
Webpack crash course | easy way
32:07
Hitesh Choudhary
Рет қаралды 61 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
Why is Vite Everywhere? | Evan You
38:32
The Secret Sauce
Рет қаралды 36 М.