Skip to content

build target subfolder for static app scripts #4298

Closed

Description

@manuelfink

Is it anyhow possible do define a subfolder of the target where the application code should be located in?

This would make defining caching strategies and hosting much easier eg.:

  • /index.html (5min cached)
  • /static-app/ (cache for ever)
    • 0.hash.js
    • 1.hash.js
    • ....

Activity

  1. adam77 commented on Jan 31, 2017

    @adam77

    this would be useful. i'm looking for something similar, ability to include package.version in the chunk name. eg:

    index.html (5min cached)
    chunkA.1.0.0.js (cache for ever)
    chunkB.1.0.0.js
    ...
    
  2. adam77 commented on Feb 1, 2017

    @adam77

    i discovered the --output-hashing setting. Could version be added as an option for this setting? obviously version is not a hash but it's used for the same purpose.

  3. filipesilva commented on Feb 3, 2017

    @filipesilva
    Contributor

    The --public-url option for ng build does this I believe.

  4. adam77 commented on Feb 3, 2017

    @adam77

    thanks, --public-url PR for reference

  5. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions