Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6359

Make the dist directory self contained

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently the NPM package for Infusion contains a dist directory. The dist directory includes the various js builds of Infusion. It also includes an assets directory that includes the css, and their dependencies, that are generated from Stylus files. In this way the dist directory contains all of the generated/compiled resources. However other dependencies still need to be pulled from source, for example the templates and message bundles.

      When pulling down Infusion for a website or other front end project, it would be more convenient if all of the distributed resources were contained within the dist directory. That might look like including the src, with the compiled css in place, along side the js files. 

      • dist
        • src
        • infusion-all.js
        • ...

      or

      • dist
        • assets
          • src
        • infusion-all.js

      With either of the above structures, an integrator would only need to copy over the dist directory from node_modules/infusion.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                colin Colin Clark
                Reporter:
                jobara Justin Obara
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: