mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
This change actually makes the authoring flow work for the most part by tying in emailing and more. We have also done a number of quality of life updates to simplify the codebase overall making it easier to continue work on the refresh.
30 lines
631 B
JavaScript
30 lines
631 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
const path = require('path');
|
|
|
|
const { parsed: env } = require('dotenv').config({
|
|
path: path.join(__dirname, '../../.env.local'),
|
|
});
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
experimental: {
|
|
serverActions: true,
|
|
},
|
|
reactStrictMode: true,
|
|
transpilePackages: [
|
|
'@documenso/lib',
|
|
'@documenso/prisma',
|
|
'@documenso/trpc',
|
|
'@documenso/ui',
|
|
'@documenso/email',
|
|
],
|
|
env,
|
|
modularizeImports: {
|
|
'lucide-react': {
|
|
transform: 'lucide-react/dist/esm/icons/{{ kebabCase member }}',
|
|
},
|
|
},
|
|
};
|
|
|
|
module.exports = config;
|