Skip to content

Addon runtime and buildtime config #636

@mehulkar

Description

@mehulkar

Apps should automatically get a namespaced way to pass runtime and buildtime config that an addon can then access easily. Currently

  1. each addon makes up its own rules about where to read config from the parent app
  2. addons can supply default config to the app in config/environment.js (haven't tried this, not sure how it becomes accessible to the app).
  3. runtime and buildtime config can be under different keys.

Proposal is to make the name of the package the key in both ember-cli-build.js and in config/environment.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions