A Wintersmith plugin to manage environment-specific settings
npm install wintersmith-environments> A Wintersmith plugin to manage environment-specific settings
Install globally or locally using npm:
``bash`
npm install [-g] wintersmith-environments
Add wintersmith-environments to your config.json:
`json`
{
"plugins": [
"wintersmith-environments"
]
}
Define the environments property:
`json`
{
"environments": {
"build": {
"locals": {
"url": "http://example.com"
}
},
"preview": {
"locals": {
"url": "http://staging.example.com"
}
}
}
}
wintersmith-environments` is released under the MIT license.