Skip to content

arxpoetica/svelte-society-day

Repository files navigation

Svelte Society Day

Repo from Svelte Society Day presentation.

Environment Variables

The example Sapper project uses rollup-plugin-replace for environment variable replacement. Any environment variable prefixed with SOCIETY_ will automatically be replaced in the code if it's listed as a process.env.* variable. For example:

process.env.SOCIETY_JWT_SECRET

Is replaced with with the JWT secret.

process.env.NODE_ENV is the only non-prefixed variables replaced.

About

Repo from Svelte Society Day presentation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published