@elbstack/react-static-plugin-offline

Makes the webpack offline-plugin compatible with react-static.

Usage no npm install needed!

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

README

react-static-plugin-offline

Makes the webpack offline-plugin compatible with react-static.

Installation

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

or

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

Configuration

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

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