Skip to content

freddyamsterdam/razzle-plugin-machine-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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 🚀🚀🚀

1. Installation

yarn add razzle-plugin-machine-env

2. 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']
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published