Skip to content

Feature Request: fileReplacements for assets #11206

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

Closed
lacolaco opened this issue Jun 12, 2018 · 5 comments
Closed

Feature Request: fileReplacements for assets #11206

lacolaco opened this issue Jun 12, 2018 · 5 comments
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Milestone

Comments

@lacolaco
Copy link
Contributor

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Area

- [x] devkit
- [ ] schematics

Desired functionality

Currently, fileReplacements option supports only for TypeScript module resolution.
I'd love to use it for assets.

Use cases

  • replace manifest.json
  • replace images with same URL

Mention any other details that might be useful

@filipesilva filipesilva added feature Issue that requests a new feature area: @angular-devkit/build-angular labels Jun 12, 2018
@sebek64
Copy link

sebek64 commented Jun 12, 2018

This is supported in 6.1 beta releases.

@MickL
Copy link

MickL commented Jun 14, 2018

@sebek64 Could you provide more informations how to archive that, or at least the according pull request?

I would like to build the same app multiple times with different assets. Issue: #11244

@sebek64
Copy link

sebek64 commented Jun 14, 2018

Yes, the corresponding issue is for example #10992.

@ngbot ngbot bot added this to the Backlog milestone Jan 24, 2019
@alan-agius4
Copy link
Collaborator

Hi all. thanks for this feature request. But I don't think that we want to continue expanding the scope of fileReplacements.

Most likely in the future we'll provide some sort of token based replacement, but until then replacing non TS files is out of scope.

@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 Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

5 participants