Skip to content

Commit 97a2104

Browse files
Merge pull request #108 from yehezkielgunawan/fix-standalone
chore: update Next.js configuration to enable standalone output
2 parents e6b533b + a528c8d commit 97a2104

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

next.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/** @type {import('next').NextConfig} */
2-
module.exports = {
2+
const nextConfig = {
3+
output: "standalone",
4+
experimental: {
5+
esmExternals: "loose",
6+
},
37
reactStrictMode: true,
48
images: {
59
domains: ["assets.vercel.com", "https://res.cloudinary.com/"],
@@ -8,3 +12,5 @@ module.exports = {
812
BASE_URL: process.env.BASE_URL,
913
},
1014
};
15+
16+
module.exports = nextConfig;

0 commit comments

Comments
 (0)