Webpack crash course | easy way

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 เม.ย. 2021
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdotcom
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @rutvikshah4589
    @rutvikshah4589 3 ปีที่แล้ว +32

    Most awaited course for REACT developers 😂

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

    @Hitesh, this is my first time seeing your videos on YT, but I just have to say that I really appreciate your teaching style and the way that you present the important and relevant information. The flow of this video was just so perfect, and I couldn't help but leave a message to say thank you. I rarely ever comment on YT videos, since the comment section is often pretty toxic, but this is a rare exception. Subscribed and enabled notifications! If your other videos are anything even remotely close to this one in terms of information flow and presentation cadence, then I can't wait to check out all your existing content and and I'm very much looking forward to following your channel as you continue to produce great content in the future.

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

    Vow, i have been expecting this crash course from you. Thank you so much

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

    This is unbelievable,how can someone make it look so simple,thank you very much,this was much needed

  • @nerdlekarandy1952
    @nerdlekarandy1952 6 หลายเดือนก่อน +1

    Thanks Hitesh, I went through so many sources to run webpack, this one really explains it plain and simple. You are a good teacher.

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

    Finally, a Webpack tutorial that explains things simply. Excellent. Thank you Hitesh.

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

      Did you even bother to follow along with it? He fucked it up. This is useless.
      [webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
      - configuration.module has an unknown property 'rule'. These properties are valid:
      object { defaultRules?, exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, generator?, noParse?, parser?, rules?, strictExportPresence?, strictThisContextOnImports?, unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp? }
      -> Options affecting the normal modules (`NormalModuleFactory`).

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

    Best Webpack introduction for beginners I could find. Easy to follow and well explained. Thanks!!

  • @Dev-Phantom
    @Dev-Phantom 4 หลายเดือนก่อน +2

    This was my interview question, How to use Webpack and Babel. Finally, its Done a Part of it. Not fully But more than enough. Thanks Hitesh.

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

    Your Videos are awesome, completely perfect and comprehensive and easy to learn. I appreciate it

  • @venkatesh6254
    @venkatesh6254 3 ปีที่แล้ว +6

    Damnn, exactly what I was looking for, just after finishing your MERN course.

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

    The actual way of teaching is good like it's totally focused teaching on focused topic no design no functionalities I adapted these a long ago 💯👌.

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

    You are just amazing. Your explanation is unique, and you actually teach us how to read and use documentation. And this makes you special and helps us further in our journey to learn and understand further. Thanks, Hitesh!

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

    I guess i ll not need any other course about webpack. Thanks for the video man. i appreciate a lot.

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

    Yes I can see that look on your face! You will notice from my face that I remember Ajax very well! Thanks for good, quick tutorial.

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

    Thank you Sir.....It always felt like a herculean task for me to understand the webpack....but this video is just eminent, it articulates the basics which one will understand easily. A big shout out to you.

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

    Now your intro looks super professional

  • @sheeraz1022
    @sheeraz1022 3 ปีที่แล้ว +4

    Hi Hitesh
    Webpack used to be a nightmare for me, I couldn't find any tutorial as simple as this one. Now I have grasped a bit knowledge about Webpack. Thanks for this wonderful tutorial.

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

    Thank you so much for this sir explaining is very clear and easy to understand God bless you 🎉

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

    Such an awesome crash course. Thanks a lot

  • @md.imanali9998
    @md.imanali9998 2 ปีที่แล้ว +1

    It's very amazing tutorial! great work.

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

    Thanks for the tutorial. I got my basics. wonderful explanation sir.

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

    You're great. Just saved my dreams.

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

    very nice video and explained very well Thanks keep up the good work ...

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

    Thank u so much for giving the test of bundler , i know this a tip of iceberg and there is alot to explore.

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

    Very well explained hitesh !!

  • @ashishchoksi8501
    @ashishchoksi8501 3 ปีที่แล้ว +6

    wow! whenever I am planning to learn something new and the next day (mostly) Hitesh comes up with a video on that tech.
    This happens to me 3rd time.
    1) docker
    2) yaml
    3) web pack.

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

    yeah, i enjoyed and already subscribed

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

    I'm new here, you're teaching way is awesome. Usually, I got bored after 15mins in a tutorial-like video. But your style of speaking is much interesting to watch the video at a single streak

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

      Enge pathalum nee😂😂🤣🤣

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

    It will help on my next round of interview.. Thanks 😊

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

    thanks for some clarity I have been pulling my hair all day because some jr. dev chose to work with webpack directly and not being able to work with angular setup. FML. We are close to delivery now.

  • @sojuthomas7727
    @sojuthomas7727 3 ปีที่แล้ว +8

    Awesome,just plan to learn webpack and it's on the top list of my news feed,did Google crack my mind 😂😂

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

      Lol there's always a comment like this

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

      @@chiragkhandelwal9178 true 😂😂

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

      You might have done many google searches on webpack . So using webpack as a tag, google gave u suggestions in yt.. Smart work. Right?

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

      @@ratnadeepsaha7675 True, I search for webpack on other days. The fun thing is that my plan to search webpack on that day and the same video on the top of my news feed was a coincidence 😂

    • @ratnadeepsaha7675
      @ratnadeepsaha7675 3 ปีที่แล้ว

      @@sojuthomas7727 google knows almost everything.. Be careful if you are married 😂😂

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

    Awesome, we love your content

  • @911madza
    @911madza 3 ปีที่แล้ว +8

    Do people still use it directly? 👀
    I mean in 2021 it feels like it's baked into all those modern frameworks 😀😀

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

    Most Awaited Video

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

    Thanks for your wonderful lecture

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

    cool! really great content.

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

    Thank you so much Hitesh

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

    an eyeopener , Thank you hitesh for explaining us on how webpack works , windows users please use babel/core and babel/preset-env and npm install -g win-node-env in order to run and build the project

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

    This excellent tutorial really helped me! Very easy to follow. Thank you very much for the same! Appreciate your effort!

  • @tanzeelahmed2055
    @tanzeelahmed2055 3 ปีที่แล้ว

    I was eager to watch this video....

  • @learnearn8721
    @learnearn8721 3 ปีที่แล้ว

    Saturday interviewer asked me do you know webpack I said no that time. But now I got the answer thank u so much Hitesh sir..

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

    First Day : First Show 😍

  • @sudo-abhinav
    @sudo-abhinav 3 ปีที่แล้ว +1

    thanku sir for awesome courses ❤️🙏

  • @akashjalkote248
    @akashjalkote248 3 ปีที่แล้ว +5

    'NODE_ENV' is not recognized as an internal or external command,
    operable program or batch file.
    showing this erroe

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

      (to windows people)
      In case you are not able to set env like:
      "build": "NODE_ENV='production' webpack"
      Install win-node-env globally
      And set
      "build": "NODE_ENV=production webpack

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

      install cross env: npm i cross-env
      use "cross-env NODE_ENV=production" in place of "NODE_ENV=production"

  • @chamansoni8013
    @chamansoni8013 3 ปีที่แล้ว

    Ya really tough for beginners thanks for this video

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

    Great One

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

    Thanks dude🔥

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

    Please make a short video on ESbuild and Snowpack

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

    love ur content

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

    Now this is a legendary content from a legendary creater..... Salut to you hitesh sir.... Love from a 15 year old fan❤️❤️❤️❤️❤️

    • @devanshsinghparmar
      @devanshsinghparmar 3 ปีที่แล้ว

      Lier, Your Id on TH-cam From 2018 Biggest Lie!

    • @amantech683
      @amantech683 3 ปีที่แล้ว

      @@devanshsinghparmar what do u mean dear

    • @devanshsinghparmar
      @devanshsinghparmar 3 ปีที่แล้ว

      @@amantech683 I mean you said in last "Love from 15 years" and your id is created from 2018...

    • @amantech683
      @amantech683 3 ปีที่แล้ว

      @@devanshsinghparmar ohh dude thats a misconception brother i meant that i am 15 years old 😀😀

    • @devanshsinghparmar
      @devanshsinghparmar 3 ปีที่แล้ว

      @@amantech683 Oh Sorry for that just a mistake, Sorry bro

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

    thank you sir for this

  • @jaganraajan
    @jaganraajan 3 ปีที่แล้ว

    Clear explanation

  • @YouAndImpact
    @YouAndImpact 3 ปีที่แล้ว

    Nice video 👍

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

    I just purchased a course from LCO sir. Your courses are cool. But just one thing, I like your dev setup (especially theme and font in VS Code) . Could we get a video on that? Thanks again for such amazing courses

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

    Please make a video on snowpack as well. I heard it is the fastest module bundler.

  • @sandeepkumarmishra7267
    @sandeepkumarmishra7267 3 ปีที่แล้ว

    thanks for this video...

  • @javascriptguy6282
    @javascriptguy6282 3 ปีที่แล้ว

    Purchased React from LCO i like your teaching technique

  • @rajantandan9723
    @rajantandan9723 3 ปีที่แล้ว

    Cool intro

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

    Very nice, gave a lot of insights of the underlying things for CRA. I am having one query: How can we make build release process of a component inside a large app independent.
    I have a react app
    name: example
    inside that i have
    component-a
    component-b
    component-c
    How can i make independent deployment for component-c without deploying the whole app (i.e example here) ?
    thoughts i tried:
    - component-c i can put on npm but that again required update of package in main app once i release a new version of component-c. resulting in a new deployment of the whole app.
    - Hosting on something like bit dev

  • @yash.dobariya
    @yash.dobariya 3 ปีที่แล้ว

    good one

  • @iamdevvalecha
    @iamdevvalecha 3 ปีที่แล้ว

    captivating!

  • @rohitkumar-ub3km
    @rohitkumar-ub3km 2 ปีที่แล้ว

    Thanks Brother

  • @Akira-sh7ts
    @Akira-sh7ts 2 ปีที่แล้ว

    Thanks sir now plz make video on babble js

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

    hey, this is my first time that i am on this channel and the way u explained webpack ,wo man i mean i'm not gonna forget it surely, but i have a question on what scenario do we need to work with webpack manualy i m a react develper and as i have seen it when i run the command npm create react app it automatically install's webpack? so when will we need this?

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

    Sir I am getting an error using command npm run build
    exit(`Invalid env var:`, arg);
    ReferenceError: exit is not defined

  • @Allrounder-wf5mv
    @Allrounder-wf5mv ปีที่แล้ว

    Nice explanation

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

    I found similarity between the way you speak and the way Mosh speaks

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

    R gjb 🤓

  • @mrvaibh0
    @mrvaibh0 3 ปีที่แล้ว

    "that look on your face" 😂

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

    Sir you're getting fitter day by day🔥

    • @HiteshChoudharydotcom
      @HiteshChoudharydotcom  3 ปีที่แล้ว +4

      Thanks but gyms are now closed my city. Hope you are doing good too

    • @VenkatGudavalli
      @VenkatGudavalli 3 ปีที่แล้ว

      Six pack...coming soon 😁

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

      @@VenkatGudavalli webpack with sixpack😌

    • @VenkatGudavalli
      @VenkatGudavalli 3 ปีที่แล้ว

      @@lemokami 🤣🤣

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

    Thanks

  • @hemanthchepuri3049
    @hemanthchepuri3049 3 ปีที่แล้ว

    Your courses are so cool sir

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

      Glad you like them!

    • @hemanthchepuri3049
      @hemanthchepuri3049 3 ปีที่แล้ว

      @@HiteshChoudharydotcom Everyone complaints about you teaching in English, but we guys from Andhra Pradesh and Tamil Nadu don't know the Hindi language......So keep teaching in English (Common language) only sir😊😊😊😊.

  • @Dev-Phantom
    @Dev-Phantom 4 หลายเดือนก่อน +1

    cool

  • @VipinMS77
    @VipinMS77 3 ปีที่แล้ว

    Damn informative

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

    Now with npm start works with "webpack-dev-server"

  • @pawan29121991
    @pawan29121991 3 ปีที่แล้ว

    I am really interested to teach the technology like you . Can you help where can I get started ? Also if possible, share all the logistics you use to get output like your videos are.

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

    If I need to use web pack for my another project. Do I need to go again and again with this steps or there is another way to do it

  • @rikinparekh
    @rikinparekh 3 ปีที่แล้ว

    I hit your comments to a century💯😉😉

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

    Bro.. Please make a video on Vanilla JS

  • @Mrroy08657
    @Mrroy08657 3 ปีที่แล้ว

    Hi Bro. How are you ? I'm from Basirhat, West Bengal.

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

    Sir i talked about indexed db on instagram remembered ?
    Would love to see video on it

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

    Wouldn't running npx run --watch be the same thing as running a dev server ?

  • @harshitakumawat3917
    @harshitakumawat3917 10 หลายเดือนก่อน +1

    hello sir!!
    sir i have setup webpack but why i;m getting so much eslint errors in my production build files.
    like Unexpected combined character in character class.eslint , Do not access Object.prototype method 'hasOwnProperty' from target object.eslintno , Do not access Object.prototype method 'hasOwnProperty' from target object.eslintno-prototype-builtins AND so many errors epprox 200 .
    Please help me to resolve this issue.

  • @darkseid3427
    @darkseid3427 3 ปีที่แล้ว

    Sir do you have course on web developement for beginners?

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

    Even I have installed the "npm install -g win-node-env", after I type in "npm run build", error messages are shown in the terminal, that is './src', I don't got it. And the "dist" folder is not produced accordingly.
    I tried to change the name of "app" folder to "src" folder, then I can see the "dist" folder is produced, however, the filename of the file produced is called "main.js", not "bundles.js," and there is no html file produced....

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

    if you found any error in npm run build trt this "scripts": {
    "start": "webpack serve",
    "build": "webpack",
    "test": "echo \"Error: no test specified\" && exit 1"
    },

  • @venkatsai1250
    @venkatsai1250 3 ปีที่แล้ว

    Please make video on openshift sir

  • @anuragtawaniya7746
    @anuragtawaniya7746 3 ปีที่แล้ว

    Sir make a crash course on bootstrap 5

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

    Pls pls pls sir make video on your vs code theme.. 😔

  • @varaprasadhalajangi8200
    @varaprasadhalajangi8200 3 ปีที่แล้ว

    it will be helpful, FYI to load up js files regex doesnt have to be grouped /\.(js)$/ /\.js$/ works fine, if you want to load jsx as well then /\.(js | jsx)$/ or /\.js(x?)$/

  • @vashishtdevasani9028
    @vashishtdevasani9028 3 ปีที่แล้ว

    Difference between grunt and webpack?

  • @ashishchoksi8501
    @ashishchoksi8501 3 ปีที่แล้ว

    Hello Hitesh sir,
    I am struggling to learn CI/CD pipeline.
    I have to make my GitLab such that when I push my changes to a particular branch it will automatically run the test file and deploy code to the server.
    so, I got to know about CI/CD is something that can do this, search on youtube but not understood well.
    Is that possible for you to make a video on that?
    or if someone knows or has a good resource, please share.

  • @plasmalife5532
    @plasmalife5532 3 ปีที่แล้ว

    ❤️❤️❤️💜💜💜

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

    Great video Hitesh!
    While doing npm run build i'm getting below error
    NODE_ENV' is not recognized as an internal or external command,
    operable program or batch file.
    could u plz suggest on this?

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

      ***THIS IS A COPIED AND PASTED COMMENT. ALL CREDIT GOES TO abclpiano.
      For Windows people, to resolve the error, “Node_ENV=production webpack “ is not an internal/external command.
      Then follow the steps.🪜 given below 👇 :
      (1) Execute the following command 🖥
      npm install -g win-node-env
      (2) Go to the package.json file, and add “&” as follows: ⚙
      “scripts”: {
      “build”: “NODE_ENV=‘production’ & webpack”,
      }
      (3) Now, Go to the terminal 🖥 and run again
      npm run build
      It will work ✅✌✌🤗✅

  • @mohammedaabid5180
    @mohammedaabid5180 3 ปีที่แล้ว

    Hitesh na make video on svelte

  • @jatinhemnani1029
    @jatinhemnani1029 3 ปีที่แล้ว

    Rollup gang

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

    'NODE_ENV' is not recognized as an internal or external command,
    operable program or batch file.
    I m getting this error while building

  • @Mrroy08657
    @Mrroy08657 3 ปีที่แล้ว

    Bro.plz tell - Which Online Freelance Career is Highest Paid for Fresher like me, as I don't have any knowledge in Coding & Programming languages? What's the Best, In-Demand and mostly Highest Paid Online Skills for Fresher -
    Cyber Security, Blockchain Development, Ethical Hacking, Software development - which one ? or anything else ??

  • @rushankshah9185
    @rushankshah9185 3 ปีที่แล้ว

    For Windows Users:
    "build": "SET NODE_ENV='production' && webpack"

  • @plasmalife5532
    @plasmalife5532 3 ปีที่แล้ว

    sir i removed spam i hope you may make a video about that ❤️