@elbstack/react-static-plugin-dotenv

A plugin that integrates dotenv into the react-static webpack process

Usage no npm install needed!

<script type="module">
  import elbstackReactStaticPluginDotenv from 'https://cdn.skypack.dev/@elbstack/react-static-plugin-dotenv';
</script>

README

react-static-plugin-dotenv

Installation

npm install --save-dev @elbstack/react-static-plugin-dotenv

or

yarn add --dev @elbstack/react-static-plugin-dotenv

Configuration

Add react-static-plugin-dotenv to your static.config.js:

plugins: [
  '@elbstack/react-static-plugin-dotenv'
]