Skip to content

Latest commit

History

History
7 lines (5 loc) 路 575 Bytes

stupid-suns-crash.md

File metadata and controls

7 lines (5 loc) 路 575 Bytes
preact-cli
minor

Any environment variables prefixed with 'PREACT_APP_' will automatically be available for reference and use in your application without having to configure DefinePlugin any more. Furthermore, if a .env file exists in the root of your application, any variables it defines will automatically be available for use.

Huge shout out to robinvdvleuten who provided this functionality through the preact-cli-plugin-env-vars package in the past.