Select environment configuration for Angular w/ firebase hosting web frameworks #6613
Unanswered
kanehjeong
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I am using the firebase hosting web frameworks experimental feature with an Angular ssr project. I've got everything set up correctly and everything seems to deploy fine, except I started getting a bunch of CORs errors because my staging url was not whitelisted. Then I realized that it builds and deploys using the production build pipeline by default. I couldn't find anywhere in the documentation that allows you to select an environment configuration (by default if triggering a build manually, you can do
ng build --configuration staging
.TLDR running
firebase deploy
will build my Angular's project w/ the production configuration only with seemingly no way to change it. Is there a way to specify a configuration to use?Beta Was this translation helpful? Give feedback.
All reactions