How to set baseHref when using Rspack? #28076
Unanswered
iconag-bbasmer
asked this question in
Questions
Replies: 2 comments 1 reply
-
Hi "targets": { |
Beta Was this translation helpful? Give feedback.
1 reply
-
This seems to be another Nx bug. I opened this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have lately updated to Nx version 19.7.4 and as I'm using module federation with React I had to go through quite a few things to correctly setup everything using the Rspack settings instead of Webpack.
What I struggle with now, is in the project.json the baseHref setting under targets.build.configurations.production.
With Webpack I could set there the path that got added as base href in the head if the index.html file. If I set this in my project now, the baseHref is being ignored.
I have attached my project.json of the application to this message. Is this a bug or have I done anything wrong?
Thanks for any help.
project.json
Beta Was this translation helpful? Give feedback.
All reactions