razzle-plugin-runtimeenv

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i razzle-plugin-runtimeenv

Weekly Downloads

53

Version

1.0.1

License

ISC

Unpacked Size

2.08 kB

Total Files

3

Last publish

Collaborators

  • hamidtanhaei