mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
18 lines
414 B
JavaScript
18 lines
414 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
require("dotenv").config({ path: "../../.env" });
|
|
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
distDir: "build",
|
|
};
|
|
|
|
const withTM = require("next-transpile-modules")(["@documenso/prisma"]);
|
|
const plugins = [];
|
|
plugins.push(withTM);
|
|
|
|
const moduleExports = () =>
|
|
plugins.reduce((acc, next) => next(acc), nextConfig);
|
|
|
|
module.exports = moduleExports;
|