Skip to content

Flat config file #1764

@JonnyBurger

Description

@JonnyBurger

Currently, the config file works like this:

Config.Puppeteer.setChromiumOpenGlRenderer('angle');

I and others find it cumbersome to discover all the options by having to trigger TS autocompletion for every category.
It would be better if you can just do:

Config.setChromiumOpenGlRenderer('angle');

## Notes

  • The old behavior should also be possible for now for backwards compatibility
  • The documentation needs to be updated
  • Note the config type is in packages/core/src/config.ts but the implementation is in packages/cli/src/config/index.ts.

Contributors guide

https://remotion.dev/docs/contributing

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions