Angular-cli: Support for string replacement with external properties

Created on 17 Jan 2017  路  3Comments  路  Source: angular/angular-cli

OS?

Windows 7

Versions.

angular-cli: 1.0.0-beta.24
node: 6.9.4
os: win32 x64

Mention any other details that might be useful.

Hi,

It does not seems yet possible with angular-cli to replace strings (a placeholder) contained in HTML or TS files by a value stored inside an external properties files or simply by the package.json version. I'm looking for something very similar too string-replace-webpack-plugin or html-webpack-plugin.

Is it a planned feature ?

Thanks,

Nicolas

All 3 comments

This is not a planned feature. It has come up a few times but we made the choice to not add. Some setups use it with success, but we don't feel it's an absolute necessity.

Thanks for your feedback

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

Was this page helpful?
0 / 5 - 0 ratings