Files
sign/apps/web/next.config.js

24 lines
512 B
JavaScript
Raw Normal View History

2022-11-14 23:12:51 +01:00
/** @type {import('next').NextConfig} */
2023-01-07 15:45:03 +01:00
require("dotenv").config({ path: "../../.env" });
2022-11-14 23:12:51 +01:00
const nextConfig = {
reactStrictMode: true,
swcMinify: false,
2022-11-24 12:21:45 +01:00
};
2022-11-14 23:12:51 +01:00
2023-01-09 17:10:36 +01:00
const withTM = require("next-transpile-modules")([
"@documenso/prisma",
"@documenso/lib",
2023-01-12 15:59:21 +01:00
"@documenso/ui",
"@documenso/pdf",
2023-01-25 10:50:58 +01:00
"@documenso/features",
2023-02-18 17:28:24 +01:00
"react-signature-canvas",
2023-01-09 17:10:36 +01:00
]);
2023-01-07 18:38:44 +01:00
const plugins = [];
plugins.push(withTM);
const moduleExports = () =>
plugins.reduce((acc, next) => next(acc), nextConfig);
module.exports = moduleExports;