Must Know JavaScript Bundler - Parcel

Must Know JavaScript Bundler - Parcel

Web Dev Simplified

5 лет назад

52,157 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@DA-rf7zj
@DA-rf7zj - 12.02.2024 21:34

300 lines of error code. Don't think it works on a Mac.

Ответить
@imperfectionist4535
@imperfectionist4535 - 23.01.2023 16:00

LIKE before I watch because I already know it will be helpful

Ответить
@detroitluv82
@detroitluv82 - 03.09.2022 19:39

what happens when you have multiple pages on your website? How do you get parcel to see the other pages?

Ответить
@Nestumk
@Nestumk - 02.08.2022 13:54

love you man

Ответить
@andyhue5457
@andyhue5457 - 18.07.2022 17:12

Nice intro :)

Ответить
@ultimategolfarchives4746
@ultimategolfarchives4746 - 23.05.2022 05:46

Always my first pick when comes to tutorials ! Great content 👍

Ответить
@hesamdanaey5446
@hesamdanaey5446 - 10.05.2022 19:50

Perfect Explanation

Ответить
@alaeen2675
@alaeen2675 - 22.04.2022 03:09

I love you

Ответить
@JarodWaggener
@JarodWaggener - 23.01.2022 23:11

Will you please just blink every now and then?? You're like some kind of android, you never seem to blink! Your content is very helpful, though, so thank you for that.

Ответить
- 10.01.2022 15:51

I love this. Personally I was looking for a way to create a library for a webgame I'm working on.
I wanted to have code split up into folders(namespaces) and transpile them into a single usable JS file.
With Webpack I just had a splitting headache with all the configuration. Every time I changed something, other stuff would break or not work as expected.

This just saved my ass.
I mean, I love configurable software.. But if you have to read an entire documentation and walk into many walls when you're on a deadline, it just sucks.
This saved my ass :)

Ответить
@deepak8586
@deepak8586 - 05.11.2021 12:08

Well its good to know could you tell us how to deploy its pain in the ass :((

Ответить
@adriek
@adriek - 26.10.2021 23:41

Learned that "dist" stands for "distribution"!

Ответить
@mykalimba
@mykalimba - 11.10.2021 20:23

5:04 AM I the only on who thinks it's odd to be importing a CSS file into a JS script file? Why doesn't the HTML file include the CSS using a <link> tag?

Ответить
@uriahsvictor8543
@uriahsvictor8543 - 10.10.2021 00:33

For anyone coming here and realising that things might not be working as they should...take note that in the video he's using Parcel v1 while the official docs now reflect Parcel v2. Parcel v2 is not called "parcel-bundler", its now just called "parcel"

Ответить
@imtanuki4106
@imtanuki4106 - 31.08.2021 16:39

If you have a totally simple project, Parcel is great. But it's not zero config if you need to do anything beyond that. V2 isn't stable yet (2021.08) and it's poorly documented.

Ответить
@adamromero
@adamromero - 03.08.2021 21:58

This is such an easy setup I feel like I just had an orgasm.

Ответить
@SuperQuwertz
@SuperQuwertz - 02.08.2021 13:52

Parcel is not watching my modules, but only the entry file.
How can I change that?

Ответить
@renify_
@renify_ - 23.07.2021 02:32

Webpack killer

Ответить
@DaveLott
@DaveLott - 22.07.2021 23:38

Exactly what I needed. Maybe Parcel, but certainly the video.

Ответить
@tinnyw2
@tinnyw2 - 07.07.2021 23:17

Hey Kyle, what's your take on Parcel vs. Vite?

Ответить
@zacharybell5534
@zacharybell5534 - 25.06.2021 21:01

Does he use parcel over webpack for everything or just this video?

Ответить
@whatthefunction9140
@whatthefunction9140 - 13.04.2021 23:12

am I missing something though? whats the catch?

Ответить
@abdulmalikzihad3542
@abdulmalikzihad3542 - 02.04.2021 16:49

How I can use this set up for my future projects

Ответить
@piyushmajgawali1611
@piyushmajgawali1611 - 01.04.2021 18:22

great

Ответить
@a_k__
@a_k__ - 31.01.2021 02:35

Just wondering about the usecases where webpack is prefered? I know it can be more customized but not sure about the scenarios

Ответить
@SonAyoD
@SonAyoD - 08.01.2021 14:45

when i installed parcel and ran dev mode. parcel is pointing to the js file in the DIS folder it created making it impossible to debug. how do i fix this bro? i've reinstalled it several times.

Ответить
@gleisonsubzeroKZ
@gleisonsubzeroKZ - 02.01.2021 22:09

just to clarify, today's parcel automatically refreshes the page when it changes. and beyond sass you can use typescript files too without any configuration.

Ответить
@hyt69
@hyt69 - 03.10.2020 15:47

Thank you so much! :D

Ответить
@michaelodonovan1908
@michaelodonovan1908 - 29.07.2020 14:08

I recently bought CodeKit and like it. It seems to do the same stuff. Am I missing something?

Ответить
@fluntimes
@fluntimes - 24.07.2020 07:54

God, I just spent an hour trying to configure Webpack. Came to this video and got everything setup in less than 10 minutes. Thanks!

Ответить
@PB72UK
@PB72UK - 14.06.2020 19:06

Try npm init -y to automatically accept all the defaults! 😃

Ответить
@PB72UK
@PB72UK - 14.06.2020 19:04

Parcel is pretty awesome!!

Ответить
@tianaspark1550
@tianaspark1550 - 10.06.2020 06:40

Thanks a lot, Kyle! Awesome as always 👍!

Ответить
@av6004
@av6004 - 31.05.2020 06:28

Thank you very much. For beginners like me, these types of videos create a quick and good starting point to get more familiar with these technologies

Ответить
@carloslfu
@carloslfu - 13.05.2020 01:15

Nice video. Tip: npm init + many enters === npm init -y

Ответить
@jaronmartin5758
@jaronmartin5758 - 21.04.2020 12:35

What is your rush? I dont see how you are benefiting anyone at X3 speeds. Do you understand that most people that are new and that is why they are watching this will think fuck this too fast we cant even see what you are clicking on let alone you talk like you dont even want to spend the time but just post this to get some clicks. By the way, what is the advantage of using parcel for scss files when most people that use SCSS could have a much easier time using SASS live in visual studio code as an extension? Its faster than what you are trying to pump out in this video by far.

Ответить
@bogdanbogdan5911
@bogdanbogdan5911 - 16.04.2020 12:20

Great tutorial and great bundler. Yet I still don't know how to use parcel with multiple .html static pages. For some reason parcel doesn't make an entry point for css file in secondary pages, even if I copy script src js entry for each page ( and put it before closing the body ). I tryed " parcel src/index.html about.html " in json, nothing happens. It's weird because the js file is executed in every page ( tested with an alert ), but the scss only works in index.html. Do you guys have the same problem? Thanks!

Ответить
@philip9677
@philip9677 - 04.04.2020 18:55

Hi my localhost:1234 parcel generated server works fine, however when trying the dist index.html, my main.css isnt getting loaded neither are my image, in the dist folder a forward slash is getting added to the path if i remove it then it works, but how do I do that without having to edit my dist files

Ответить
@leonf.7893
@leonf.7893 - 31.03.2020 21:58

Is the ./ in the paths necessary? Like I noticed the example ./../scss/main.scss

Ответить
@DRocksRecords
@DRocksRecords - 20.03.2020 14:42

Thanks!!

Ответить
@ghostrunner9596
@ghostrunner9596 - 09.03.2020 08:06

If you use "npm init -y", you don't have to hit the enter key bunch of time to go with the default npm values.

Ответить
@TroenderTass
@TroenderTass - 16.02.2020 03:48

webpack isn't that bad tbh, it's the docs that is complete crap

Ответить
@Microphunktv-jb3kj
@Microphunktv-jb3kj - 17.10.2019 14:59

zero-configuration...
yet has no imgmin and js obfuscator and no file concat

Ответить
@diegognoatto590
@diegognoatto590 - 21.09.2019 03:04

bro i got o knew parcel trough your videos, i thought my life was
magically enhanced since them , but im having a hell lot of bugs with my
project, i got a index.html in the root and modules/index.html,
blog/index.html etc, that parcel does is show my homepage in any link
from menu i click. it seems as soon u got just one html is goes right
bot it lose itself wn u got multipages. any tip i could be doing wrong?
thanks

Ответить
@ZeePintor
@ZeePintor - 16.08.2019 13:05

Hi Kyle, I have been practicing and learning JS. I have done a few little things but I don't where I can go from now. A few things I have heard about are frameworks like React, Angular and Vue.js. It's all still confusing to me. So I would like to request if you could do a video on what are they for, how to use them and what's the best tool for the right job. I enjoy your content, keep going!

Ответить
@dariusjohnson8849
@dariusjohnson8849 - 16.08.2019 10:17

Great video Kyle! Keep up the good work. Could you please dedicate a tutorial to responsive images ? I tried looking it up and found mixed results that did not help at all :(

Ответить
@ldt_
@ldt_ - 15.08.2019 08:00

I don't understand how this is any different than just hitting Shift+F5 in Chrome to clear cache and reload the page after you just hit CTRL+S to save your .js or .css file. You're still having to include the files yourself and you don't need a "server" running to view HTML, CSS or run JS scripts.

Ответить
@maskman4821
@maskman4821 - 15.08.2019 06:09

Can we use parcel to build a single page application like angular, react, or vue ???

Ответить