Echo JS 0.11.0


MaxArt 526 days ago. link 3 points
Man, the grammar in the article is pretty bad...

Anyway, I don't think I'll use it until it'll have tree-shaking, but kudos for the effort. Creating a (decent) modern bundler isn't an easy task at all.

Ah, and another thing: referencing the project's root with "~". Really not a fan of it. I won't probably never load a module from the home directory, but this is messing with a widely estabilished convention.
tracker1 525 days ago. link 1 point
I'm relatively sure the author has exposure to .Net as the tilde is used as project root the too.  It doesn't work out autosub for profile/home in node currently in any of the path or FS modules.
mephju 525 days ago. link 1 point
The tilde is also a symbol referring to the user's home folder on Unix systems.
tracker1 525 days ago. link 1 point
I know... I work with Windows, Linux and Mac on a daily basis.  I was just pointing it out in context as to why that was chosen.  It *could* also be thought of as the *home* for the application itself.

I even mentioned that node specifically doesn't do anything with tilde in the fs or path modules, even in a unixy environment.
feras khoursheed 525 days ago. link 1 point
thank man for the support :) that is exactly why we chose it. because we come from.Net background.

to answer the OP, try to check how many npm packages like `app-root-path` are trying to solve this big issue and you will get a better idea about the reasoning behind it.
bstro 520 days ago. link 2 points
A lot of negativity here, which bums me out. I think Fusebox looks really promising and I'm definitely going to consider it  for future projects as a means of sidestepping webpack's complexity.
igl 525 days ago. link -1 point
No code splitting, tree shaking and HMR :/
Webpack is still the only way.
nchanged 524 days ago. link 3 points
1) We support HMR
2) We have different approaches.You can split your code as much as you like, creating bundles using arithmetic instructions

3) WebPack tree-sharking works poorly. We are working on a universal solution that will support CommonJS tree-shaking.
feras khoursheed 525 days ago. link 2 points
igl, we do have HMR

please also check our seed projects that already use it like

as for code splitting, yes we have it, we call it multi-entry bundles, sorry for the lack of docs it will be addressed ASAP.

as for tree shaking, we are working on tackling this issue in a sensable way.

please give FuseBox a try, you will love it and see how easy, fast and powerful it is :)
yyx990803 521 days ago. link 1 point
The docs doesn't seem to mention anything like Webpack's HMR API - i.e. I hope you are not confusing HMR with reload-on-save?