This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

js-runtime-env-processor

1.0.3 • Public • Published

JS Runtime Env Processor

Use runtime environment variables in bundled/minified javascript apps.

Build Status npm Module

Usage

Designed for create-react-app-buildpack. See its documentation to use this module for Runtime configuration.

Background

Normally javascript apps are compiled into a bundle before being deployed. During this build phase, environment variables may be embedded in the javascript bundle, such as with Webpack DefinePlugin.

When hosting on a 12-factor platform like Heroku, these embedded values may go stale when setting new config vars or promoting through a pipeline.

Package Sidebar

Install

npm i js-runtime-env-processor

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • trevorharwell