Skip to content

Support conditional compile / flavors #40

Open
@Swatinem

Description

@Swatinem

So what I want to achieve here is something like this:

Lets say you have a translation dictionary in all kinds of different languages ['en', 'de', 'hu', …]

It should be possible to compile

  • every flavor into one build, which would make clientside language switching possible
  • or each flavor in its separate build, so that the server can do language negotiation and just serve the requested lang

It does not need to be limited to languages. It might also be browser support, where we can compile separately one lean version for modern browsers and one fat (+50K) version for IE8 or something.

It might be a little related to #11, but for translations, it does not make sense to split them into separate packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions