Closed dimakuba closed 10 months ago
To change the base-href you need to set the option in the browser builder.
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.
🚀 Feature request
What modules are relevant for this feature request?
Description
Currently it's not possible to setup dynamic build options while prerendering, like
baseHref
,outputPath
etc. I've tried to run prerendering with this command to setup dynamicbaseHref
, but it doesn’t work since the argument is not defined in prerender builder's schema:ng run <app-name>:prerender --base-href /test/
Describe the solution you'd like
Support dynamic build arguments:
ng run <app-name>:prerender --browser-base-href /test/
Describe alternatives you've considered
As a workaround, I've created custom builder for prerendering which accepts dynamic build arguments