environment
Experimental Feature
Type: Promise<void>
Configure the environment that Prisma is going to use. In this function, you can mutate the environment however you want: import files using useEnv, change the environment using process.env
or run other logic. To configure your virtual environment, add these lines to your configuration object:
export default {
// Other configuration lines
environment: async () => {
// Your environment logic
}
};
Last updated