aboutsummaryrefslogtreecommitdiff
path: root/communities/174bg/174bg.net/next.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'communities/174bg/174bg.net/next.config.mjs')
-rw-r--r--communities/174bg/174bg.net/next.config.mjs19
1 files changed, 19 insertions, 0 deletions
diff --git a/communities/174bg/174bg.net/next.config.mjs b/communities/174bg/174bg.net/next.config.mjs
new file mode 100644
index 0000000..df97a86
--- /dev/null
+++ b/communities/174bg/174bg.net/next.config.mjs
@@ -0,0 +1,19 @@
+/** @type {import('next').NextConfig} */
+const nextConfig = {
+ /* config options here */
+ reactCompiler: true,
+
+ // generate a minimal, production-ready Docker image with only the required runtime files and dependencies
+ output: "standalone",
+
+ async rewrites() {
+ return [
+ {
+ source: "/handbook/:path*",
+ destination: "/handbook/index.html",
+ },
+ ];
+ },
+};
+
+export default nextConfig;