@refreshly/core
import { Refreshly, DotEnv } from '@refreshly/core';
import { AWS } from '@refreshly/aws';
// This will read the .env file in the cwd and pipe its contents back out to the same .env
Refreshly(
new DotEnv.Source({
file: '.env',
targets: [
new DotEnv.Target({
file: '.env',
}),
],
})
);Last updated