2023-06-09 18:21:18 +10:00
|
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
|
|
const { parsed: env } = require('dotenv').config({
|
|
|
|
|
path: path.join(__dirname, '../../.env.local'),
|
|
|
|
|
});
|
2023-01-07 15:45:03 +01:00
|
|
|
|
2023-05-05 19:29:42 +10:00
|
|
|
/** @type {import('next').NextConfig} */
|
2023-06-09 18:21:18 +10:00
|
|
|
const config = {
|
2022-11-14 23:12:51 +01:00
|
|
|
reactStrictMode: true,
|
2023-06-09 18:21:18 +10:00
|
|
|
transpilePackages: ['@documenso/lib', '@documenso/prisma', '@documenso/trpc', '@documenso/ui'],
|
|
|
|
|
env,
|
2022-11-24 12:21:45 +01:00
|
|
|
};
|
2022-11-14 23:12:51 +01:00
|
|
|
|
2023-06-09 18:21:18 +10:00
|
|
|
module.exports = config;
|