mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
24 lines
512 B
JavaScript
24 lines
512 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
require("dotenv").config({ path: "../../.env" });
|
|
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
swcMinify: false,
|
|
};
|
|
|
|
const withTM = require("next-transpile-modules")([
|
|
"@documenso/prisma",
|
|
"@documenso/lib",
|
|
"@documenso/ui",
|
|
"@documenso/pdf",
|
|
"@documenso/features",
|
|
"react-signature-canvas",
|
|
]);
|
|
const plugins = [];
|
|
plugins.push(withTM);
|
|
|
|
const moduleExports = () =>
|
|
plugins.reduce((acc, next) => next(acc), nextConfig);
|
|
|
|
module.exports = moduleExports;
|