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