• Randall Leeds's avatar
    Separate session/helpers bundles, tweak bundling · 2e7f4e34
    Randall Leeds authored
    Tweak the way we organize our asset bundles for fewer output files,
    straightforward names, and no conflict of dev and prod output files.
    
    - Break session and helpers into their own bundles.
    
    - Bundle vendor libs up where they are not common to more than one
      optional component. For example, angular-bootstrap is only needed by
      helpers since that is where we now redefine tabbable and create
      the tab-reveal directive (in a new helpers/ui-helpers.coffee file).
      Another example is angular-resource, which is only used by the session
      bundle. On the other hand, angular-route is used by the app, but soon
      also by the auth bundle as soon as we unify all the login forms and
      boot out deform.
    
    - Inline icomoon.css.
    
    - Rename some outputs:
      - hypothesis-app.{css,js} -> app.{css,js}
        This is the main site application.
      - hypothesis-inject.{css,js} -> hypothesis.{css,js}
        This is the inject script.
    
    Close #1555
    Related to webplatform/notes-server#13
    2e7f4e34
Name
Last commit
Last update
..
document-helpers.coffee Loading commit data...
form-helpers.coffee Loading commit data...
helpers.coffee Loading commit data...
ui-helpers.coffee Loading commit data...