openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
256 stars 80 forks source link

✨(frontend) Exclude dummy backend from production build #2352

Open rlecellier opened 3 months ago

rlecellier commented 3 months ago

Feature Request

Our testing backend are currently include in our production build and it can be a problem if we want to use some factory in it.

Find a way to exclude dummy backend from production build. It may work by having it load with lazy.