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

hash and deploy-url for media #15374

Closed
zh99998 opened this issue Aug 19, 2019 · 2 comments
Closed

hash and deploy-url for media #15374

zh99998 opened this issue Aug 19, 2019 · 2 comments

Comments

@zh99998
Copy link

zh99998 commented Aug 19, 2019

🚀 Feature request

Command (mark with an x)

- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description

A clear and concise description of the problem or missing capability...

now only scripts and media referenced by stylesheets can be hashed.
media in component html like <img src="..."> can't be hashed, both it in or not in assets folder.
deploy-url not affect them too.

which is harder to read and may have trouble to deal with dynamic

Describe the solution you'd like

If you have a solution in mind, please describe it.

media referenced by html need to be hashed, just like them referenced by css.

in my deployment only index.html served from main domain and all other static files are from CDN. so hash and deploy-url support is important.

for backward compatibility, it could behind a build config.

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?
@alan-agius4
Copy link
Collaborator

Duplicate of #3415

@alan-agius4 alan-agius4 marked this as a duplicate of #3415 Aug 19, 2019
@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 19, 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

2 participants