Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Allow environment-specific configuration overrides #185

Closed
eliperelman opened this issue Apr 20, 2017 · 1 comment
Closed

Allow environment-specific configuration overrides #185

eliperelman opened this issue Apr 20, 2017 · 1 comment
Assignees
Milestone

Comments

@eliperelman
Copy link
Member

Using the package.json overrides, all configuration is added to every environment. If you want to override something that only exists in a certain environment, this will blow up. We should support making overrides on an environment or command-specific basis.

Environment-specific:

{
  "neutrino": {
    "env": {
      "production": {
        "config": {
          // e.g. edit minify plugin options
        }
      }
    }
  }
}

Command-specific:

{
  "neutrino": {
    "command": {
      "build": {
        "config": {
          // e.g. edit minify plugin options
        }
      }
    }
  }
}
@helfi92
Copy link
Member

helfi92 commented Jun 2, 2017

Resolved in #230

@helfi92 helfi92 closed this as completed Jun 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants