wintersmith-environments

1.0.0 • Public • Published

wintersmith-environments Build Status

A Wintersmith plugin to manage environment-specific settings

Installation

Install globally or locally using npm:

npm install [-g] wintersmith-environments

Add wintersmith-environments to your config.json:

{
  "plugins": [
    "wintersmith-environments"
  ]
}

Define the environments property:

{
  "environments": {
    "build": {
      "locals": {
        "url": "http://example.com"
      }
    },
    "preview": {
      "locals": {
        "url": "http://staging.example.com"
      }
    }
  }
}

License

wintersmith-environments is released under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

Package Sidebar

Install

npm i wintersmith-environments

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • xavierdutreilh