choko icon indicating copy to clipboard operation
choko copied to clipboard

Webpack as bundle generator

Open sebas5384 opened this issue 9 years ago • 0 comments

Motivation:

Dependency resolution in the browser is a constant pain, and it's a big perfomance issue when loading so many separated files for only then to execute them. The slow process of loading the page we see at the first request of a Choko application could be solved with Webpack. Also a better stateless approach.

Progress:

I started a branch in order to implement Webpack https://github.com/tallerwebsolutions/choko/tree/webpack

Its not even close of finished, because as @lucasconstantino pointed out we have a big challenge with way the Choko's assets are being loaded. @lucasconstantino could you talk more about that?

Pros and Cons:

Talking with @lucasconstantino, shared his thoughts about the cons of using Webpack, could you tell us more about it?

sebas5384 avatar Feb 26 '15 18:02 sebas5384