[
https://issues.apache.org/jira/browse/COUCHDB-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874184#comment-15874184
]
ASF GitHub Bot commented on COUCHDB-3303:
-----------------------------------------
Github user garrensmith commented on the issue:
https://github.com/apache/couchdb-fauxton/pull/852
I've documented your ideas here
https://issues.apache.org/jira/browse/COUCHDB-3303
> Bundle improvements
> -------------------
>
> Key: COUCHDB-3303
> URL: https://issues.apache.org/jira/browse/COUCHDB-3303
> Project: CouchDB
> Issue Type: Improvement
> Components: Fauxton
> Reporter: Garren Smith
>
> Yeah the long build times seem entirely related to Webpack, but I'm not super
> familiar with Webpack so I'm not sure how to optimize.
> In any case there is some other stuff I wanted to do to improve bundle size
> but haven't gotten around to:
> split brace into separate code-split bundle using require.ensure()
> use modular lodash, e.g. with babel-plugin-lodash and lodash-webpack-plugin,
> or just stuff like var map = require('lodash/map')
> use rollup to compress the size of files we control, e.g. that whole app/
> folder should be one big JS file rather than separate modules (seems
> rollup-loader would work well for this)
> alternatively, upgrade to webpack 2 because it seems that would cut down the
> react-bootstrap size since it's exposed as an ES module and therefore the
> tree-shaking would automatically trim a lot of the cruft. potentially
> rollup-loader could also do this but needs investigation.
> Taken from https://github.com/apache/couchdb-fauxton/pull/852
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)