Add baseHref setting to the sourceLocale

🚀 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

I don’t think this is possible now or I have not found a good solution. You added the ability to specify a baseHref in each locale during i18n but no way to specify the baseHref for the sourceLocale. Not sure how else to specifiy a baseHref=”/” for en. Compiler always makes it ‘/en/’.

Describe the solution you’d like

Change the schema to allow an object for sourceLocal that has a property of baseHref.

Describe alternatives you’ve considered

The only workaround I have found it to create two builds: One for english and one for all other locales.

1 possible answer(s) on “Add baseHref setting to the sourceLocale