Envs configuration

env

env: string;
CopiedCopy

Sets components with a component development environment.

For example:

"env": "teambit.react/react"
CopiedCopy

It is recommended to apply an env on a selected group of components - not as the workspace default.

For example:

{
  "teambit.workspace/variants": {
    "{ui/**}": {
      "teambit.envs/envs": {
        "env": "teambit.react/react"
      }
    }
  }
}
CopiedCopy
on this page
env