razzle-plugin-machine-env
v1.0.2
Published
Allow Razzle to use machine environment variables during runtime
Maintainers
Readme
razzle-plugin-machine-env
This plugin enables the usage of machine environment variables in the client side of your Razzle powered isomorphic (React) applications.
This is particularly useful when passing environment variables to Docker containers.
Get started :rocket::rocket::rocket:
1. Installation
yarn add razzle-plugin-machine-env2. Implementation
If you don't have one already, create a razzle.config.jsfile in the root directory of your project and add the following code:
'use strict';
module.exports = {
plugins: ['machine-env']
};