chore: modified next.js config

This commit is contained in:
Henit Chobisa 2023-09-02 07:57:29 +00:00
parent f9c3b4ca12
commit e91406bd3f

View File

@ -1,13 +1,15 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const path = require("path"); const path = require("path");
const withImages = require("next-images")
const nextConfig = { const nextConfig = withImages({
basePath: "/spaces",
reactStrictMode: false, reactStrictMode: false,
swcMinify: true, swcMinify: true,
experimental: { experimental: {
outputFileTracingRoot: path.join(__dirname, "../../"), outputFileTracingRoot: path.join(__dirname, "../../"),
}, },
output: "standalone", output: "standalone",
}; });
module.exports = nextConfig; module.exports = nextConfig;