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

26 lines
543 B
JavaScript
Raw Normal View History

2023-01-07 15:45:03 +01:00
require("dotenv").config({ path: "../../.env" });
/** @type {import('next').NextConfig} */
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
const transpileModules = require("next-transpile-modules")([
2023-01-09 17:10:36 +01:00
"@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",
"@documenso/signing",
2023-02-18 17:28:24 +01:00
"react-signature-canvas",
2023-01-09 17:10:36 +01:00
]);
const plugins = [
transpileModules
];
2023-01-07 18:38:44 +01:00
2023-04-04 22:02:32 +00:00
const moduleExports = () => plugins.reduce((acc, next) => next(acc), nextConfig);
2023-01-07 18:38:44 +01:00
module.exports = moduleExports;