You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/11 00:55:43 UTC

[GitHub] [cordova-js] erisu commented on issue #169: Uniform build

erisu commented on issue #169: Uniform build
URL: https://github.com/apache/cordova-js/issues/169#issuecomment-540855881
 
 
   If I had to pick between `webpack` or `rollup`, I would go with `rollup`.
   
   I always felt `webpack` was a bit bloated on the output and increased the file size more then what was needed. It also really depends on what we are trying to accomplish.
   
   https://medium.com/jsdownunder/rollup-vs-webpack-javascript-bundling-in-2018-b35758a2268
   
   The information in this article may be out-dated since it was written about a year ago.
   
   One of the main questions to think about when looking at the top highlighted line, from that article, is what is `cordova-js`? A library or an app?
   
   > “Use webpack for apps, and Rollup for libraries”
   
   To me, `cordova-js` is a library that is expected to be bundled in an app, the client ends app. They might use `webpack` for their app...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org