roe-plugin-env
v1.0.1
Published
roe plugin to allow the sanbox to inherit extra environment variables from the current process
Downloads
12
Readme
roe-plugin-env
Roe plugin to allow the sanbox to inherit extra environment variables from the current process
Install
$ npm i roe-plugin-env
Usage
const EnvPlugin = require('roe-plugin-env')
module.exports = {
plugins: [
// Allow sandbox to inherit `process.env.REDIS_HOST` of the parent process.
new EnvPlugin(['REDIS_HOST'])
]
}
License
MIT