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

21 lines
439 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: true,
2023-01-09 09:46:08 +01:00
distDir: "build",
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-07 18:38:44 +01:00
const plugins = [];
plugins.push(withTM);
const moduleExports = () =>
plugins.reduce((acc, next) => next(acc), nextConfig);
module.exports = moduleExports;