-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(webpack): support env variables for index.html #1460
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
Comments
I don't think we ever supported adding custom variables to index.html, but there is a feature request for the base tag already in #1064. |
You did.. At least I was able to use any env variable by Even originally the new project had some usages:
So I think it's kinda breaking change after webpack merge. Update: |
Huh, that must have been base functionality of ember-cli that we never really noticed. The best I can do now is to bump the priority of that base href feature, I'll try to work on it soon. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
It would be great to still have some kind of env variables or settings for index.html as we had previously with broccoli.
One of the use case would be setting
<base href
for different environments which I need now...The text was updated successfully, but these errors were encountered: