-
-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Labels
Description
I've extracted another plugin from my created Preact SPA. It is a plugin to have support for environment variables a la CRA. Any env var prefixed with PREACT_APP_ can be used in your code as const secret = process.env.PREACT_APP_SUPER_SECRET for example. It would be nice if it can be added to the wiki :) You can see the plugin here => https://github.com/robinvdvleuten/preact-cli-plugin-env-vars