Live data from Hacker News

Parcel: Fast, zero configuration web application bundler

github.com

71–80 of 98 posts

Re: Parcel: Fast, zero configuration web application bundler

#71
post #67

Earlier quoted context omitted.

The planned v2 of parcel will have a configuration file.

Without investigating, I genuinely can’t tell whether you are joking or not. It seems plausible, save for the fact that would completely undermine the primary marketing message.

Bear in mind that this is relative to webpack. A few lines practically is zero compared to a webpack configuration.

Re: Parcel: Fast, zero configuration web application bundler

#72

Just tried it quickly; didn't work. It did something and then I got a blank page. Probably some config missing that it needs but the point is: no zero conf and doesn't work as advertised.

I've tried it as well for the first time today and it totally worked as advertised. Maybe you misspelled or missed something?

Re: Parcel: Fast, zero configuration web application bundler

#73
post #67

Earlier quoted context omitted.

The planned v2 of parcel will have a configuration file.

Without investigating, I genuinely can’t tell whether you are joking or not. It seems plausible, save for the fact that would completely undermine the primary marketing message.

Spoke to one of the creators on a conference and he confirmed it will have some config in V2.

Re: Parcel: Fast, zero configuration web application bundler

#74
I think the ultimate solution to bundling is to go the way of the CLIs, and Angular CLI in particular, where the framework team configures a sensible default bundle config with a few options exposed via the CLI. The user can then build with a single command and everything just works. The user can eject from the CLI and configure manually if needs be, but most of the time that won’t be necessary.

Bundlers probably have a certain minimum complexity that can’t be reduced if they want to be universally applicable, but a lot of that can be hidden for most use cases, particularly if using the same framework.

Re: Parcel: Fast, zero configuration web application bundler

#75
post #71

Earlier quoted context omitted.

Without investigating, I genuinely can’t tell whether you are joking or not. It seems plausible, save for the fact that would completely undermine the primary marketing message.

Bear in mind that this is relative to webpack. A few lines practically is zero compared to a webpack configuration.

Although WebPack 4 has some sane defaults that you can use it zero-config

Re: Parcel: Fast, zero configuration web application bundler

#76
post #48
post #32

Earlier quoted context omitted.

I think the JavaScript ecosystem needs something akin to Boost. I do not like using Boost in C++, however the way their libraries are built and integrated into standard is awesome.

Yeah, I agree. "Tiny modules" is a thing in JS i.e there are people, influential developers, that champion the existence of modules like "left-pad", "is-positive-zero", etc. The idea is that "npm is the stdlib" but its not a very good one when your node_modules folder is always 1000+ large. This is one of a few tiring patterns in the JS ecosystem. The other is "you should be using grunt", "should be using gulp", "noo…

[deleted]

Re: Parcel: Fast, zero configuration web application bundler

#77
post #74

I think the ultimate solution to bundling is to go the way of the CLIs, and Angular CLI in particular, where the framework team configures a sensible default bundle config with a few options exposed via the CLI. The user can then build with a single command and everything just works. The user can eject from the CLI and configure manually if needs be, but most of the time that won’t be necessary. Bundlers probably hav…

Yup, just FYI Angulars CLI is based on Embers. Just putting it out there because the oldest thriving framework which put out a lot of great ideas often gets forgotten in these discussions :)

Re: Parcel: Fast, zero configuration web application bundler

#78

Gulp has/had the right approach. There's only so much flexibility and complexity configuration format can support without becoming strange copy-pasted incantations that can only be reasonably expressed and clearly visualized through code. And they've proven that, eating Grunt's lunch, but then they blew it with never-ending alpha and general stewardship fail. And with regards to Parcel vs Webpack, it's not (at least…

Just other day was trying to remember why everyone switched from gulp to webpack. There was some reason for it right? Or was it just that gulp/plugins were unstable.

Do remember looking into it for small side project but ended up just using npm scripts, maybe that's part of it.

Re: Parcel: Fast, zero configuration web application bundler

#79
post #74

I think the ultimate solution to bundling is to go the way of the CLIs, and Angular CLI in particular, where the framework team configures a sensible default bundle config with a few options exposed via the CLI. The user can then build with a single command and everything just works. The user can eject from the CLI and configure manually if needs be, but most of the time that won’t be necessary. Bundlers probably hav…

Yup, just FYI Angulars CLI is based on Embers. Just putting it out there because the oldest thriving framework which put out a lot of great ideas often gets forgotten in these discussions :)

Was not aware, thanks for mentioning it!

Re: Parcel: Fast, zero configuration web application bundler

#80
post #40

I spent the day finally adding a modern build system / bundler to my side project, and I chose Parcel. Parcel is really cool! I really wish they'd stop calling it "zero-configuration". It has configuration options (--out-dir, --public-url), there's just no configuration file for them. I really wish they would make one, since it's annoying to have your configuration be hidden in a batch file.

Ironically what was supposed to be a feature is now something that needs to be fixed.

I think really the value proposition here is “very little if any setup needed” and making so there was no setup possible may have gone too far.

Post reply on HN