razzle-plugin-runtimeenv

allow .env and .env.development in runtime

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
razzle-plugin-runtimeenv
001.0.15 years ago5 years agoMinified + gzip package size for razzle-plugin-runtimeenv in KB

Readme

Razzle Runtime Enviroment
Razzle Runtime Enviroment adds ability to access dotEnv variables in runtime simplicity by adding a PLUGIN in razzle config file.
  • support .env
  • support .env.development

How to install

1- Install package

$ npm install razzle-plugin-runtimeenv --save

2- Config Razzle

in your Razzle project root add or edit razzle.config.js to add runtimeenv plugin.
sample razzle.config.js
'use strict';

module.exports = {
  plugins: [
      ...,
      'runtimeenv'
  ]
};