@startupjs/babel-plugin-dotenv
Import .env filesExample
import { BASE_URL, STRIPE_PUBLIC_KEY } from '@env'
↓ ↓ ↓ ↓ ↓ ↓
const BASE_URL = 'http://example.com'
const STRIPE_PUBLIC_KEY = '000-000000-00'
import { BASE_URL, STRIPE_PUBLIC_KEY } from '@env'
const BASE_URL = 'http://example.com'
const STRIPE_PUBLIC_KEY = '000-000000-00'
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.