Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35804

Update js-builder to support externalized packages that have plugins

    Details

    • Similar Issues:
    • Epic Link:

      Description

      At the moment, js-builder package externalization works by externalizing one package per bundle. This works fine for most packages but it also needs to support bundling of multiple packages together so as to support package plugins e.g. moment supports plugins like moment-duration-format.

      The effect of not doing this means that we can't externalize the likes of moment in the example scenario outlined above i.e. it needs to be bundled in all .js bundles (adding ~ 30 Kb gzipped). Not a huge deal atm because we don't have a large number of .js bundles.

        Attachments

          Activity

          jamesdumay James Dumay created issue -
          tfennelly Tom FENNELLY made changes -
          Field Original Value New Value
          Description At the moment, `js-builder` package externalization works by externalizing a one package per bundle. This works fine for most packages but it also needs to support bundling of multiple packages together so as to support package plugins e.g. {{moment}} supports plugins like {{moment-duration-format}}.

          The effect of not doing this means that we can't externalize the likes of {{moment}} in the example scenario outlined above i.e. it needs to be bundled in all {{.js}} bundles (adding ~ 30 Kb gzipped). Not a huge deal atm because we don't have a large number of {{.js}} bundles.
          At the moment, {{js-builder}} package externalization works by externalizing a one package per bundle. This works fine for most packages but it also needs to support bundling of multiple packages together so as to support package plugins e.g. {{moment}} supports plugins like {{moment-duration-format}}.

          The effect of not doing this means that we can't externalize the likes of {{moment}} in the example scenario outlined above i.e. it needs to be bundled in all {{.js}} bundles (adding ~ 30 Kb gzipped). Not a huge deal atm because we don't have a large number of {{.js}} bundles.
          tfennelly Tom FENNELLY made changes -
          Description At the moment, {{js-builder}} package externalization works by externalizing a one package per bundle. This works fine for most packages but it also needs to support bundling of multiple packages together so as to support package plugins e.g. {{moment}} supports plugins like {{moment-duration-format}}.

          The effect of not doing this means that we can't externalize the likes of {{moment}} in the example scenario outlined above i.e. it needs to be bundled in all {{.js}} bundles (adding ~ 30 Kb gzipped). Not a huge deal atm because we don't have a large number of {{.js}} bundles.
          At the moment, {{js-builder}} package externalization works by externalizing one package per bundle. This works fine for most packages but it also needs to support bundling of multiple packages together so as to support package plugins e.g. {{moment}} supports plugins like {{moment-duration-format}}.

          The effect of not doing this means that we can't externalize the likes of {{moment}} in the example scenario outlined above i.e. it needs to be bundled in all {{.js}} bundles (adding ~ 30 Kb gzipped). Not a huge deal atm because we don't have a large number of {{.js}} bundles.
          tfennelly Tom FENNELLY made changes -
          Epic Link UX-35 [ 24725 ]
          tfennelly Tom FENNELLY made changes -
          Assignee Tom Fennelly [ tfennelly ]
          jamesdumay James Dumay made changes -
          Status New [ 10200 ] To Do [ 10003 ]
          Workflow CloudBees Default Workflow [ 43177 ] Product Backlog April 2016 v2 [ 43320 ]
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          jamesdumay James Dumay made changes -
          Rank Ranked lower
          admin V R made changes -
          Project Import Tue Jun 14 12:50:41 JST 2016 [ 1465876241198 ]
          rtyler R. Tyler Croy made changes -
          Project Import Wed Jun 15 02:53:18 UTC 2016 [ 1465959198925 ]
          jamesdumay James Dumay made changes -
          Labels blueocean-imported
          jamesdumay James Dumay made changes -
          Project User Experience [ 10600 ] Jenkins [ 10172 ]
          Key UX-291 JENKINS-35804
          Workflow Product Backlog April 2016 V2 [ 172308 ] JNJira [ 172424 ]
          Status To Do [ 10003 ] Open [ 1 ]
          Component/s blueocean-plugin [ 21481 ]
          admin V R made changes -
          Assignee Tom Fennelly [ tfennelly ]
          admin V R made changes -
          Priority Low [ 4 ] Major [ 10000 ]
          admin V R made changes -
          Reporter Tom Fennelly [ tfennelly ] James Dumay [ jamesdumay ]
          admin V R made changes -
          Reporter James Dumay [ jdumay ] James Dumay [ jdumay ]
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          jamesdumay James Dumay made changes -
          Rank Ranked lower
          jamesdumay James Dumay made changes -
          Labels blueocean-imported blueocean-imported technical-debt
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 172424 ] JNJira + In-Review [ 184667 ]
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          jamesdumay James Dumay made changes -
          Rank Ranked lower
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          jamesdumay James Dumay made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Postponed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              jamesdumay James Dumay
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: