Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build target subfolder for static app scripts #4298

Closed
manuelfink opened this issue Jan 30, 2017 · 5 comments
Closed

build target subfolder for static app scripts #4298

manuelfink opened this issue Jan 30, 2017 · 5 comments

Comments

@manuelfink
Copy link

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
    • ....
@adam77
Copy link

adam77 commented Jan 31, 2017

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
...

@adam77
Copy link

adam77 commented Feb 1, 2017

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.

@filipesilva
Copy link
Contributor

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

@adam77
Copy link

adam77 commented Feb 3, 2017

thanks, --public-url PR for reference

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants